From 45309a5e4434fea5aa82a3533aa7cd82510bb61f Mon Sep 17 00:00:00 2001 From: Vladimir Vukicevic Date: Tue, 30 Mar 2004 01:05:49 +0000 Subject: [PATCH] Initial revision svn path=/trunk/tsunami-bindings/; revision=24747 --- AUTHORS | 2 + COPYING.GPL | 340 ++++++ CORE_files | 5 + EXT_files | 240 ++++ MIT.X11 | 21 + Makefile | 34 + README | 56 + TsunamiBindingsCore.cs | 119 ++ csgen.pl | 293 +++++ gl_postamble.cs | 3 + gl_postprocess.cs | 170 +++ gl_preamble.cs | 44 + glcore/GLX_VERSION_1_2 | 2 + glcore/GLX_VERSION_1_3 | 80 ++ glcore/GLX_VERSION_1_4 | 4 + glcore/GL_VERSION_1_1 | 1021 +++++++++++++++++ glcore/GL_VERSION_1_2 | 46 + glcore/GL_VERSION_1_3 | 144 +++ glcore/GL_VERSION_1_4 | 85 ++ glcore/GL_VERSION_1_5 | 73 ++ glext/GLU_EXT_nurbs_tessellator | 2 + glext/GLU_EXT_object_space_tess | 2 + glext/GLU_SGI_filter4_parameters | 3 + glext/GLX_3DFX_multisample | 4 + glext/GLX_ARB_get_proc_address | 3 + glext/GLX_ARB_multisample | 4 + glext/GLX_ATI_pixel_format_float | 2 + glext/GLX_ATI_render_texture | 39 + glext/GLX_EXT_import_context | 10 + glext/GLX_EXT_scene_marker | 2 + glext/GLX_EXT_visual_info | 18 + glext/GLX_EXT_visual_rating | 5 + glext/GLX_MESA_copy_sub_buffer | 3 + glext/GLX_MESA_pixmap_colormap | 3 + glext/GLX_MESA_release_buffers | 3 + glext/GLX_MESA_set_3dfx_mode | 5 + glext/GLX_NV_float_buffer | 3 + glext/GLX_NV_vertex_array_range | 4 + glext/GLX_OML_swap_method | 6 + glext/GLX_OML_sync_control | 7 + glext/GLX_SGIS_blended_overlay | 3 + glext/GLX_SGIS_color_range | 11 + glext/GLX_SGIS_multisample | 4 + glext/GLX_SGIS_shared_multisample | 3 + glext/GLX_SGIX_fbconfig | 21 + glext/GLX_SGIX_pbuffer | 34 + glext/GLX_SGIX_swap_barrier | 4 + glext/GLX_SGIX_swap_group | 3 + glext/GLX_SGIX_video_resize | 9 + glext/GLX_SGIX_visual_select_group | 3 + glext/GLX_SGI_cushion | 3 + glext/GLX_SGI_make_current_read | 4 + glext/GLX_SGI_swap_control | 3 + glext/GLX_SGI_video_sync | 4 + glext/GLX_SUN_get_transparent_index | 3 + glext/GLX_SUN_video_resize | 6 + glext/GL_3DFX_multisample | 8 + glext/GL_3DFX_tbuffer | 3 + glext/GL_3DFX_texture_compression_FXT1 | 4 + glext/GL_APPLE_client_storage | 3 + glext/GL_APPLE_element_array | 10 + glext/GL_APPLE_fence | 12 + glext/GL_APPLE_float_pixels | 16 + glext/GL_APPLE_specular_vector | 3 + glext/GL_APPLE_texture_range | 11 + glext/GL_APPLE_transform_hint | 3 + glext/GL_APPLE_vertex_array_object | 7 + glext/GL_APPLE_vertex_array_range | 12 + glext/GL_APPLE_ycbcr_422 | 5 + glext/GL_ARB_depth_texture | 7 + glext/GL_ARB_fragment_program | 17 + glext/GL_ARB_fragment_program_shadow | 2 + glext/GL_ARB_fragment_shader | 4 + glext/GL_ARB_imaging | 110 ++ glext/GL_ARB_matrix_palette | 17 + glext/GL_ARB_multisample | 14 + glext/GL_ARB_multitexture | 71 ++ glext/GL_ARB_occlusion_query | 15 + glext/GL_ARB_point_parameters | 8 + glext/GL_ARB_point_sprite | 4 + glext/GL_ARB_shader_objects | 69 ++ glext/GL_ARB_shading_language_100 | 2 + glext/GL_ARB_shadow | 5 + glext/GL_ARB_shadow_ambient | 3 + glext/GL_ARB_texture_border_clamp | 3 + glext/GL_ARB_texture_compression | 20 + glext/GL_ARB_texture_cube_map | 14 + glext/GL_ARB_texture_env_add | 2 + glext/GL_ARB_texture_env_combine | 24 + glext/GL_ARB_texture_env_crossbar | 2 + glext/GL_ARB_texture_env_dot3 | 4 + glext/GL_ARB_texture_mirrored_repeat | 3 + glext/GL_ARB_texture_non_power_of_two | 2 + glext/GL_ARB_transpose_matrix | 6 + glext/GL_ARB_vertex_blend | 54 + glext/GL_ARB_vertex_buffer_object | 58 + glext/GL_ARB_vertex_program | 143 +++ glext/GL_ARB_vertex_shader | 12 + glext/GL_ARB_window_pos | 18 + glext/GL_ATIX_point_sprites | 8 + glext/GL_ATIX_texture_env_combine3 | 5 + glext/GL_ATIX_texture_env_route | 5 + glext/GL_ATIX_vertex_shader_output_point_size | 3 + glext/GL_ATI_draw_buffers | 20 + glext/GL_ATI_element_array | 8 + glext/GL_ATI_envmap_bumpmap | 14 + glext/GL_ATI_fragment_shader | 60 + glext/GL_ATI_map_object_buffer | 4 + glext/GL_ATI_pn_triangles | 13 + glext/GL_ATI_separate_stencil | 8 + glext/GL_ATI_text_fragment_shader | 3 + glext/GL_ATI_texture_env_combine3 | 5 + glext/GL_ATI_texture_float | 14 + glext/GL_ATI_texture_mirror_once | 4 + glext/GL_ATI_vertex_array_object | 22 + glext/GL_ATI_vertex_attrib_array_object | 5 + glext/GL_ATI_vertex_streams | 49 + glext/GL_EXT_422_pixels | 6 + glext/GL_EXT_abgr | 3 + glext/GL_EXT_bgra | 4 + glext/GL_EXT_blend_color | 8 + glext/GL_EXT_blend_equation_separate | 5 + glext/GL_EXT_blend_func_separate | 7 + glext/GL_EXT_blend_logic_op | 2 + glext/GL_EXT_blend_minmax | 7 + glext/GL_EXT_blend_subtract | 4 + glext/GL_EXT_clip_volume_hint | 3 + glext/GL_EXT_cmyka | 6 + glext/GL_EXT_color_subtable | 4 + glext/GL_EXT_compiled_vertex_array | 4 + glext/GL_EXT_convolution | 35 + glext/GL_EXT_coordinate_frame | 18 + glext/GL_EXT_copy_texture | 7 + glext/GL_EXT_cull_vertex | 4 + glext/GL_EXT_depth_bounds_test | 5 + glext/GL_EXT_draw_range_elements | 2 + glext/GL_EXT_fog_coord | 15 + glext/GL_EXT_fragment_lighting | 34 + glext/GL_EXT_histogram | 25 + glext/GL_EXT_index_array_formats | 2 + glext/GL_EXT_index_func | 3 + glext/GL_EXT_index_material | 3 + glext/GL_EXT_index_texture | 2 + glext/GL_EXT_light_texture | 15 + glext/GL_EXT_misc_attribute | 2 + glext/GL_EXT_multi_draw_arrays | 4 + glext/GL_EXT_multisample | 21 + glext/GL_EXT_packed_pixels | 7 + glext/GL_EXT_paletted_texture | 29 + glext/GL_EXT_pixel_transform | 17 + glext/GL_EXT_pixel_transform_color_table | 2 + glext/GL_EXT_point_parameters | 8 + glext/GL_EXT_polygon_offset | 6 + glext/GL_EXT_rescale_normal | 2 + glext/GL_EXT_scene_marker | 4 + glext/GL_EXT_secondary_color | 26 + glext/GL_EXT_separate_specular_color | 5 + glext/GL_EXT_shadow_funcs | 2 + glext/GL_EXT_shared_texture_palette | 3 + glext/GL_EXT_stencil_two_side | 5 + glext/GL_EXT_stencil_wrap | 4 + glext/GL_EXT_subtexture | 5 + glext/GL_EXT_texture | 44 + glext/GL_EXT_texture3D | 12 + glext/GL_EXT_texture_compression_s3tc | 6 + glext/GL_EXT_texture_cube_map | 14 + glext/GL_EXT_texture_edge_clamp | 3 + glext/GL_EXT_texture_env | 13 + glext/GL_EXT_texture_env_add | 2 + glext/GL_EXT_texture_env_combine | 23 + glext/GL_EXT_texture_env_dot3 | 4 + glext/GL_EXT_texture_filter_anisotropic | 4 + glext/GL_EXT_texture_lod_bias | 5 + glext/GL_EXT_texture_mirror_clamp | 5 + glext/GL_EXT_texture_object | 13 + glext/GL_EXT_texture_perturb_normal | 5 + glext/GL_EXT_texture_rectangle | 6 + glext/GL_EXT_vertex_array | 44 + glext/GL_EXT_vertex_shader | 155 +++ glext/GL_EXT_vertex_weighting | 18 + glext/GL_HP_convolution_border_modes | 2 + glext/GL_HP_image_transform | 8 + glext/GL_HP_occlusion_test | 4 + glext/GL_HP_texture_lighting | 2 + glext/GL_IBM_cull_vertex | 3 + glext/GL_IBM_multimode_draw_arrays | 4 + glext/GL_IBM_rasterpos_clip | 3 + glext/GL_IBM_static_data | 4 + glext/GL_IBM_texture_mirrored_repeat | 3 + glext/GL_IBM_vertex_array_lists | 26 + glext/GL_INGR_color_clamp | 10 + glext/GL_INGR_interlace_read | 3 + glext/GL_INTEL_parallel_arrays | 11 + glext/GL_INTEL_texture_scissor | 4 + glext/GL_MESA_pack_invert | 3 + glext/GL_MESA_resize_buffers | 3 + glext/GL_MESA_window_pos | 26 + glext/GL_MESA_ycbcr_texture | 5 + glext/GL_NV_blend_square | 2 + glext/GL_NV_copy_depth_to_color | 4 + glext/GL_NV_depth_clamp | 3 + glext/GL_NV_element_array | 9 + glext/GL_NV_evaluators | 35 + glext/GL_NV_fence | 12 + glext/GL_NV_float_buffer | 17 + glext/GL_NV_fog_distance | 5 + glext/GL_NV_fragment_program | 14 + glext/GL_NV_half_float | 50 + glext/GL_NV_light_max_exponent | 4 + glext/GL_NV_multisample_filter_hint | 3 + glext/GL_NV_occlusion_query | 13 + glext/GL_NV_packed_depth_stencil | 4 + glext/GL_NV_pixel_data_range | 10 + glext/GL_NV_point_sprite | 7 + glext/GL_NV_primitive_restart | 6 + glext/GL_NV_register_combiners | 66 ++ glext/GL_NV_register_combiners2 | 5 + glext/GL_NV_texgen_emboss | 5 + glext/GL_NV_texgen_reflection | 4 + glext/GL_NV_texture_compression_vtc | 2 + glext/GL_NV_texture_env_combine4 | 7 + glext/GL_NV_texture_expand_normal | 3 + glext/GL_NV_texture_rectangle | 6 + glext/GL_NV_texture_shader | 72 ++ glext/GL_NV_texture_shader2 | 30 + glext/GL_NV_texture_shader3 | 19 + glext/GL_NV_vertex_array_range | 9 + glext/GL_NV_vertex_array_range2 | 3 + glext/GL_NV_vertex_program | 149 +++ glext/GL_NV_vertex_program1_1 | 2 + glext/GL_NV_vertex_program2 | 2 + glext/GL_OML_interlace | 4 + glext/GL_OML_resample | 8 + glext/GL_OML_subsample | 4 + glext/GL_PGI_misc_hints | 22 + glext/GL_PGI_vertex_hints | 24 + glext/GL_REND_screen_coordinates | 4 + glext/GL_S3_s3tc | 8 + glext/GL_SGIS_color_range | 20 + glext/GL_SGIS_detail_texture | 4 + glext/GL_SGIS_fog_function | 4 + glext/GL_SGIS_generate_mipmap | 4 + glext/GL_SGIS_multisample | 23 + glext/GL_SGIS_pixel_texture | 2 + glext/GL_SGIS_sharpen_texture | 4 + glext/GL_SGIS_texture4D | 4 + glext/GL_SGIS_texture_border_clamp | 3 + glext/GL_SGIS_texture_edge_clamp | 3 + glext/GL_SGIS_texture_filter4 | 4 + glext/GL_SGIS_texture_lod | 6 + glext/GL_SGIS_texture_select | 2 + glext/GL_SGIX_async | 9 + glext/GL_SGIX_async_histogram | 4 + glext/GL_SGIX_async_pixel | 8 + glext/GL_SGIX_blend_alpha_minmax | 4 + glext/GL_SGIX_clipmap | 2 + glext/GL_SGIX_depth_texture | 5 + glext/GL_SGIX_flush_raster | 3 + glext/GL_SGIX_fog_offset | 4 + glext/GL_SGIX_fog_texture | 6 + glext/GL_SGIX_fragment_specular_lighting | 19 + glext/GL_SGIX_framezoom | 3 + glext/GL_SGIX_interlace | 3 + glext/GL_SGIX_ir_instrument1 | 2 + glext/GL_SGIX_list_priority | 2 + glext/GL_SGIX_pixel_texture | 3 + glext/GL_SGIX_pixel_texture_bits | 2 + glext/GL_SGIX_reference_plane | 3 + glext/GL_SGIX_resample | 7 + glext/GL_SGIX_shadow | 2 + glext/GL_SGIX_shadow_ambient | 3 + glext/GL_SGIX_sprite | 6 + glext/GL_SGIX_tag_sample_buffer | 3 + glext/GL_SGIX_texture_add_env | 2 + glext/GL_SGIX_texture_coordinate_clamp | 5 + glext/GL_SGIX_texture_lod_bias | 2 + glext/GL_SGIX_texture_multi_buffer | 3 + glext/GL_SGIX_texture_range | 30 + glext/GL_SGIX_texture_scale_bias | 6 + glext/GL_SGIX_vertex_preclip | 4 + glext/GL_SGIX_vertex_preclip_hint | 4 + glext/GL_SGIX_ycrcb | 2 + glext/GL_SGI_color_matrix | 13 + glext/GL_SGI_color_table | 25 + glext/GL_SGI_texture_color_table | 4 + glext/GL_SUNX_constant_data | 5 + glext/GL_SUN_convolution_border_modes | 3 + glext/GL_SUN_global_alpha | 12 + glext/GL_SUN_mesh_array | 4 + glext/GL_SUN_read_video_pixels | 3 + glext/GL_SUN_slice_accum | 3 + glext/GL_SUN_triangle_list | 26 + glext/GL_SUN_vertex | 42 + glext/GL_WIN_phong_shading | 4 + glext/GL_WIN_specular_fog | 3 + glext/GL_WIN_swap_hint | 3 + glext/WGL_3DFX_multisample | 4 + glext/WGL_ARB_buffer_region | 10 + glext/WGL_ARB_extensions_string | 3 + glext/WGL_ARB_make_current_read | 4 + glext/WGL_ARB_multisample | 4 + glext/WGL_ARB_pbuffer | 16 + glext/WGL_ARB_pixel_format | 54 + glext/WGL_ARB_render_texture | 38 + glext/WGL_ATI_pixel_format_float | 5 + glext/WGL_EXT_depth_float | 3 + glext/WGL_EXT_display_color_table | 6 + glext/WGL_EXT_extensions_string | 3 + glext/WGL_EXT_make_current_read | 4 + glext/WGL_EXT_multisample | 4 + glext/WGL_EXT_pbuffer | 17 + glext/WGL_EXT_pixel_format | 50 + glext/WGL_EXT_swap_control | 4 + glext/WGL_I3D_digital_video_control | 8 + glext/WGL_I3D_gamma | 8 + glext/WGL_I3D_genlock | 23 + glext/WGL_I3D_image_buffer | 8 + glext/WGL_I3D_swap_frame_lock | 6 + glext/WGL_I3D_swap_frame_usage | 6 + glext/WGL_NV_float_buffer | 11 + glext/WGL_NV_render_depth_texture | 8 + glext/WGL_NV_render_texture_rectangle | 5 + glext/WGL_NV_vertex_array_range | 4 + glext/WGL_OML_sync_control | 8 + 324 files changed, 6347 insertions(+) create mode 100644 AUTHORS create mode 100644 COPYING.GPL create mode 100644 CORE_files create mode 100644 EXT_files create mode 100644 MIT.X11 create mode 100644 Makefile create mode 100644 README create mode 100644 TsunamiBindingsCore.cs create mode 100644 csgen.pl create mode 100644 gl_postamble.cs create mode 100644 gl_postprocess.cs create mode 100644 gl_preamble.cs create mode 100644 glcore/GLX_VERSION_1_2 create mode 100644 glcore/GLX_VERSION_1_3 create mode 100644 glcore/GLX_VERSION_1_4 create mode 100644 glcore/GL_VERSION_1_1 create mode 100644 glcore/GL_VERSION_1_2 create mode 100644 glcore/GL_VERSION_1_3 create mode 100644 glcore/GL_VERSION_1_4 create mode 100644 glcore/GL_VERSION_1_5 create mode 100644 glext/GLU_EXT_nurbs_tessellator create mode 100644 glext/GLU_EXT_object_space_tess create mode 100644 glext/GLU_SGI_filter4_parameters create mode 100644 glext/GLX_3DFX_multisample create mode 100644 glext/GLX_ARB_get_proc_address create mode 100644 glext/GLX_ARB_multisample create mode 100644 glext/GLX_ATI_pixel_format_float create mode 100644 glext/GLX_ATI_render_texture create mode 100644 glext/GLX_EXT_import_context create mode 100644 glext/GLX_EXT_scene_marker create mode 100644 glext/GLX_EXT_visual_info create mode 100644 glext/GLX_EXT_visual_rating create mode 100644 glext/GLX_MESA_copy_sub_buffer create mode 100644 glext/GLX_MESA_pixmap_colormap create mode 100644 glext/GLX_MESA_release_buffers create mode 100644 glext/GLX_MESA_set_3dfx_mode create mode 100644 glext/GLX_NV_float_buffer create mode 100644 glext/GLX_NV_vertex_array_range create mode 100644 glext/GLX_OML_swap_method create mode 100644 glext/GLX_OML_sync_control create mode 100644 glext/GLX_SGIS_blended_overlay create mode 100644 glext/GLX_SGIS_color_range create mode 100644 glext/GLX_SGIS_multisample create mode 100644 glext/GLX_SGIS_shared_multisample create mode 100644 glext/GLX_SGIX_fbconfig create mode 100644 glext/GLX_SGIX_pbuffer create mode 100644 glext/GLX_SGIX_swap_barrier create mode 100644 glext/GLX_SGIX_swap_group create mode 100644 glext/GLX_SGIX_video_resize create mode 100644 glext/GLX_SGIX_visual_select_group create mode 100644 glext/GLX_SGI_cushion create mode 100644 glext/GLX_SGI_make_current_read create mode 100644 glext/GLX_SGI_swap_control create mode 100644 glext/GLX_SGI_video_sync create mode 100644 glext/GLX_SUN_get_transparent_index create mode 100644 glext/GLX_SUN_video_resize create mode 100644 glext/GL_3DFX_multisample create mode 100644 glext/GL_3DFX_tbuffer create mode 100644 glext/GL_3DFX_texture_compression_FXT1 create mode 100644 glext/GL_APPLE_client_storage create mode 100644 glext/GL_APPLE_element_array create mode 100644 glext/GL_APPLE_fence create mode 100644 glext/GL_APPLE_float_pixels create mode 100644 glext/GL_APPLE_specular_vector create mode 100644 glext/GL_APPLE_texture_range create mode 100644 glext/GL_APPLE_transform_hint create mode 100644 glext/GL_APPLE_vertex_array_object create mode 100644 glext/GL_APPLE_vertex_array_range create mode 100644 glext/GL_APPLE_ycbcr_422 create mode 100644 glext/GL_ARB_depth_texture create mode 100644 glext/GL_ARB_fragment_program create mode 100644 glext/GL_ARB_fragment_program_shadow create mode 100644 glext/GL_ARB_fragment_shader create mode 100644 glext/GL_ARB_imaging create mode 100644 glext/GL_ARB_matrix_palette create mode 100644 glext/GL_ARB_multisample create mode 100644 glext/GL_ARB_multitexture create mode 100644 glext/GL_ARB_occlusion_query create mode 100644 glext/GL_ARB_point_parameters create mode 100644 glext/GL_ARB_point_sprite create mode 100644 glext/GL_ARB_shader_objects create mode 100644 glext/GL_ARB_shading_language_100 create mode 100644 glext/GL_ARB_shadow create mode 100644 glext/GL_ARB_shadow_ambient create mode 100644 glext/GL_ARB_texture_border_clamp create mode 100644 glext/GL_ARB_texture_compression create mode 100644 glext/GL_ARB_texture_cube_map create mode 100644 glext/GL_ARB_texture_env_add create mode 100644 glext/GL_ARB_texture_env_combine create mode 100644 glext/GL_ARB_texture_env_crossbar create mode 100644 glext/GL_ARB_texture_env_dot3 create mode 100644 glext/GL_ARB_texture_mirrored_repeat create mode 100644 glext/GL_ARB_texture_non_power_of_two create mode 100644 glext/GL_ARB_transpose_matrix create mode 100644 glext/GL_ARB_vertex_blend create mode 100644 glext/GL_ARB_vertex_buffer_object create mode 100644 glext/GL_ARB_vertex_program create mode 100644 glext/GL_ARB_vertex_shader create mode 100644 glext/GL_ARB_window_pos create mode 100644 glext/GL_ATIX_point_sprites create mode 100644 glext/GL_ATIX_texture_env_combine3 create mode 100644 glext/GL_ATIX_texture_env_route create mode 100644 glext/GL_ATIX_vertex_shader_output_point_size create mode 100644 glext/GL_ATI_draw_buffers create mode 100644 glext/GL_ATI_element_array create mode 100644 glext/GL_ATI_envmap_bumpmap create mode 100644 glext/GL_ATI_fragment_shader create mode 100644 glext/GL_ATI_map_object_buffer create mode 100644 glext/GL_ATI_pn_triangles create mode 100644 glext/GL_ATI_separate_stencil create mode 100644 glext/GL_ATI_text_fragment_shader create mode 100644 glext/GL_ATI_texture_env_combine3 create mode 100644 glext/GL_ATI_texture_float create mode 100644 glext/GL_ATI_texture_mirror_once create mode 100644 glext/GL_ATI_vertex_array_object create mode 100644 glext/GL_ATI_vertex_attrib_array_object create mode 100644 glext/GL_ATI_vertex_streams create mode 100644 glext/GL_EXT_422_pixels create mode 100644 glext/GL_EXT_abgr create mode 100644 glext/GL_EXT_bgra create mode 100644 glext/GL_EXT_blend_color create mode 100644 glext/GL_EXT_blend_equation_separate create mode 100644 glext/GL_EXT_blend_func_separate create mode 100644 glext/GL_EXT_blend_logic_op create mode 100644 glext/GL_EXT_blend_minmax create mode 100644 glext/GL_EXT_blend_subtract create mode 100644 glext/GL_EXT_clip_volume_hint create mode 100644 glext/GL_EXT_cmyka create mode 100644 glext/GL_EXT_color_subtable create mode 100644 glext/GL_EXT_compiled_vertex_array create mode 100644 glext/GL_EXT_convolution create mode 100644 glext/GL_EXT_coordinate_frame create mode 100644 glext/GL_EXT_copy_texture create mode 100644 glext/GL_EXT_cull_vertex create mode 100644 glext/GL_EXT_depth_bounds_test create mode 100644 glext/GL_EXT_draw_range_elements create mode 100644 glext/GL_EXT_fog_coord create mode 100644 glext/GL_EXT_fragment_lighting create mode 100644 glext/GL_EXT_histogram create mode 100644 glext/GL_EXT_index_array_formats create mode 100644 glext/GL_EXT_index_func create mode 100644 glext/GL_EXT_index_material create mode 100644 glext/GL_EXT_index_texture create mode 100644 glext/GL_EXT_light_texture create mode 100644 glext/GL_EXT_misc_attribute create mode 100644 glext/GL_EXT_multi_draw_arrays create mode 100644 glext/GL_EXT_multisample create mode 100644 glext/GL_EXT_packed_pixels create mode 100644 glext/GL_EXT_paletted_texture create mode 100644 glext/GL_EXT_pixel_transform create mode 100644 glext/GL_EXT_pixel_transform_color_table create mode 100644 glext/GL_EXT_point_parameters create mode 100644 glext/GL_EXT_polygon_offset create mode 100644 glext/GL_EXT_rescale_normal create mode 100644 glext/GL_EXT_scene_marker create mode 100644 glext/GL_EXT_secondary_color create mode 100644 glext/GL_EXT_separate_specular_color create mode 100644 glext/GL_EXT_shadow_funcs create mode 100644 glext/GL_EXT_shared_texture_palette create mode 100644 glext/GL_EXT_stencil_two_side create mode 100644 glext/GL_EXT_stencil_wrap create mode 100644 glext/GL_EXT_subtexture create mode 100644 glext/GL_EXT_texture create mode 100644 glext/GL_EXT_texture3D create mode 100644 glext/GL_EXT_texture_compression_s3tc create mode 100644 glext/GL_EXT_texture_cube_map create mode 100644 glext/GL_EXT_texture_edge_clamp create mode 100644 glext/GL_EXT_texture_env create mode 100644 glext/GL_EXT_texture_env_add create mode 100644 glext/GL_EXT_texture_env_combine create mode 100644 glext/GL_EXT_texture_env_dot3 create mode 100644 glext/GL_EXT_texture_filter_anisotropic create mode 100644 glext/GL_EXT_texture_lod_bias create mode 100644 glext/GL_EXT_texture_mirror_clamp create mode 100644 glext/GL_EXT_texture_object create mode 100644 glext/GL_EXT_texture_perturb_normal create mode 100644 glext/GL_EXT_texture_rectangle create mode 100644 glext/GL_EXT_vertex_array create mode 100644 glext/GL_EXT_vertex_shader create mode 100644 glext/GL_EXT_vertex_weighting create mode 100644 glext/GL_HP_convolution_border_modes create mode 100644 glext/GL_HP_image_transform create mode 100644 glext/GL_HP_occlusion_test create mode 100644 glext/GL_HP_texture_lighting create mode 100644 glext/GL_IBM_cull_vertex create mode 100644 glext/GL_IBM_multimode_draw_arrays create mode 100644 glext/GL_IBM_rasterpos_clip create mode 100644 glext/GL_IBM_static_data create mode 100644 glext/GL_IBM_texture_mirrored_repeat create mode 100644 glext/GL_IBM_vertex_array_lists create mode 100644 glext/GL_INGR_color_clamp create mode 100644 glext/GL_INGR_interlace_read create mode 100644 glext/GL_INTEL_parallel_arrays create mode 100644 glext/GL_INTEL_texture_scissor create mode 100644 glext/GL_MESA_pack_invert create mode 100644 glext/GL_MESA_resize_buffers create mode 100644 glext/GL_MESA_window_pos create mode 100644 glext/GL_MESA_ycbcr_texture create mode 100644 glext/GL_NV_blend_square create mode 100644 glext/GL_NV_copy_depth_to_color create mode 100644 glext/GL_NV_depth_clamp create mode 100644 glext/GL_NV_element_array create mode 100644 glext/GL_NV_evaluators create mode 100644 glext/GL_NV_fence create mode 100644 glext/GL_NV_float_buffer create mode 100644 glext/GL_NV_fog_distance create mode 100644 glext/GL_NV_fragment_program create mode 100644 glext/GL_NV_half_float create mode 100644 glext/GL_NV_light_max_exponent create mode 100644 glext/GL_NV_multisample_filter_hint create mode 100644 glext/GL_NV_occlusion_query create mode 100644 glext/GL_NV_packed_depth_stencil create mode 100644 glext/GL_NV_pixel_data_range create mode 100644 glext/GL_NV_point_sprite create mode 100644 glext/GL_NV_primitive_restart create mode 100644 glext/GL_NV_register_combiners create mode 100644 glext/GL_NV_register_combiners2 create mode 100644 glext/GL_NV_texgen_emboss create mode 100644 glext/GL_NV_texgen_reflection create mode 100644 glext/GL_NV_texture_compression_vtc create mode 100644 glext/GL_NV_texture_env_combine4 create mode 100644 glext/GL_NV_texture_expand_normal create mode 100644 glext/GL_NV_texture_rectangle create mode 100644 glext/GL_NV_texture_shader create mode 100644 glext/GL_NV_texture_shader2 create mode 100644 glext/GL_NV_texture_shader3 create mode 100644 glext/GL_NV_vertex_array_range create mode 100644 glext/GL_NV_vertex_array_range2 create mode 100644 glext/GL_NV_vertex_program create mode 100644 glext/GL_NV_vertex_program1_1 create mode 100644 glext/GL_NV_vertex_program2 create mode 100644 glext/GL_OML_interlace create mode 100644 glext/GL_OML_resample create mode 100644 glext/GL_OML_subsample create mode 100644 glext/GL_PGI_misc_hints create mode 100644 glext/GL_PGI_vertex_hints create mode 100644 glext/GL_REND_screen_coordinates create mode 100644 glext/GL_S3_s3tc create mode 100644 glext/GL_SGIS_color_range create mode 100644 glext/GL_SGIS_detail_texture create mode 100644 glext/GL_SGIS_fog_function create mode 100644 glext/GL_SGIS_generate_mipmap create mode 100644 glext/GL_SGIS_multisample create mode 100644 glext/GL_SGIS_pixel_texture create mode 100644 glext/GL_SGIS_sharpen_texture create mode 100644 glext/GL_SGIS_texture4D create mode 100644 glext/GL_SGIS_texture_border_clamp create mode 100644 glext/GL_SGIS_texture_edge_clamp create mode 100644 glext/GL_SGIS_texture_filter4 create mode 100644 glext/GL_SGIS_texture_lod create mode 100644 glext/GL_SGIS_texture_select create mode 100644 glext/GL_SGIX_async create mode 100644 glext/GL_SGIX_async_histogram create mode 100644 glext/GL_SGIX_async_pixel create mode 100644 glext/GL_SGIX_blend_alpha_minmax create mode 100644 glext/GL_SGIX_clipmap create mode 100644 glext/GL_SGIX_depth_texture create mode 100644 glext/GL_SGIX_flush_raster create mode 100644 glext/GL_SGIX_fog_offset create mode 100644 glext/GL_SGIX_fog_texture create mode 100644 glext/GL_SGIX_fragment_specular_lighting create mode 100644 glext/GL_SGIX_framezoom create mode 100644 glext/GL_SGIX_interlace create mode 100644 glext/GL_SGIX_ir_instrument1 create mode 100644 glext/GL_SGIX_list_priority create mode 100644 glext/GL_SGIX_pixel_texture create mode 100644 glext/GL_SGIX_pixel_texture_bits create mode 100644 glext/GL_SGIX_reference_plane create mode 100644 glext/GL_SGIX_resample create mode 100644 glext/GL_SGIX_shadow create mode 100644 glext/GL_SGIX_shadow_ambient create mode 100644 glext/GL_SGIX_sprite create mode 100644 glext/GL_SGIX_tag_sample_buffer create mode 100644 glext/GL_SGIX_texture_add_env create mode 100644 glext/GL_SGIX_texture_coordinate_clamp create mode 100644 glext/GL_SGIX_texture_lod_bias create mode 100644 glext/GL_SGIX_texture_multi_buffer create mode 100644 glext/GL_SGIX_texture_range create mode 100644 glext/GL_SGIX_texture_scale_bias create mode 100644 glext/GL_SGIX_vertex_preclip create mode 100644 glext/GL_SGIX_vertex_preclip_hint create mode 100644 glext/GL_SGIX_ycrcb create mode 100644 glext/GL_SGI_color_matrix create mode 100644 glext/GL_SGI_color_table create mode 100644 glext/GL_SGI_texture_color_table create mode 100644 glext/GL_SUNX_constant_data create mode 100644 glext/GL_SUN_convolution_border_modes create mode 100644 glext/GL_SUN_global_alpha create mode 100644 glext/GL_SUN_mesh_array create mode 100644 glext/GL_SUN_read_video_pixels create mode 100644 glext/GL_SUN_slice_accum create mode 100644 glext/GL_SUN_triangle_list create mode 100644 glext/GL_SUN_vertex create mode 100644 glext/GL_WIN_phong_shading create mode 100644 glext/GL_WIN_specular_fog create mode 100644 glext/GL_WIN_swap_hint create mode 100644 glext/WGL_3DFX_multisample create mode 100644 glext/WGL_ARB_buffer_region create mode 100644 glext/WGL_ARB_extensions_string create mode 100644 glext/WGL_ARB_make_current_read create mode 100644 glext/WGL_ARB_multisample create mode 100644 glext/WGL_ARB_pbuffer create mode 100644 glext/WGL_ARB_pixel_format create mode 100644 glext/WGL_ARB_render_texture create mode 100644 glext/WGL_ATI_pixel_format_float create mode 100644 glext/WGL_EXT_depth_float create mode 100644 glext/WGL_EXT_display_color_table create mode 100644 glext/WGL_EXT_extensions_string create mode 100644 glext/WGL_EXT_make_current_read create mode 100644 glext/WGL_EXT_multisample create mode 100644 glext/WGL_EXT_pbuffer create mode 100644 glext/WGL_EXT_pixel_format create mode 100644 glext/WGL_EXT_swap_control create mode 100644 glext/WGL_I3D_digital_video_control create mode 100644 glext/WGL_I3D_gamma create mode 100644 glext/WGL_I3D_genlock create mode 100644 glext/WGL_I3D_image_buffer create mode 100644 glext/WGL_I3D_swap_frame_lock create mode 100644 glext/WGL_I3D_swap_frame_usage create mode 100644 glext/WGL_NV_float_buffer create mode 100644 glext/WGL_NV_render_depth_texture create mode 100644 glext/WGL_NV_render_texture_rectangle create mode 100644 glext/WGL_NV_vertex_array_range create mode 100644 glext/WGL_OML_sync_control diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..8547f67 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,2 @@ +Vladimir Vukicevic + diff --git a/COPYING.GPL b/COPYING.GPL new file mode 100644 index 0000000..d60c31a --- /dev/null +++ b/COPYING.GPL @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/CORE_files b/CORE_files new file mode 100644 index 0000000..368a8f2 --- /dev/null +++ b/CORE_files @@ -0,0 +1,5 @@ +glcore/GL_VERSION_1_1 +glcore/GL_VERSION_1_2 +glcore/GL_VERSION_1_3 +glcore/GL_VERSION_1_4 +glcore/GL_VERSION_1_5 diff --git a/EXT_files b/EXT_files new file mode 100644 index 0000000..ae528c2 --- /dev/null +++ b/EXT_files @@ -0,0 +1,240 @@ +glext/GL_3DFX_multisample +glext/GL_3DFX_tbuffer +glext/GL_3DFX_texture_compression_FXT1 +glext/GL_APPLE_client_storage +glext/GL_APPLE_element_array +glext/GL_APPLE_fence +glext/GL_APPLE_float_pixels +glext/GL_APPLE_specular_vector +glext/GL_APPLE_texture_range +glext/GL_APPLE_transform_hint +glext/GL_APPLE_vertex_array_object +glext/GL_APPLE_vertex_array_range +glext/GL_APPLE_ycbcr_422 +glext/GL_ARB_depth_texture +glext/GL_ARB_fragment_program +glext/GL_ARB_fragment_program_shadow +glext/GL_ARB_fragment_shader +glext/GL_ARB_imaging +glext/GL_ARB_matrix_palette +glext/GL_ARB_multisample +glext/GL_ARB_multitexture +glext/GL_ARB_occlusion_query +glext/GL_ARB_point_parameters +glext/GL_ARB_point_sprite +glext/GL_ARB_shader_objects +glext/GL_ARB_shading_language_100 +glext/GL_ARB_shadow +glext/GL_ARB_shadow_ambient +glext/GL_ARB_texture_border_clamp +glext/GL_ARB_texture_compression +glext/GL_ARB_texture_cube_map +glext/GL_ARB_texture_env_add +glext/GL_ARB_texture_env_combine +glext/GL_ARB_texture_env_crossbar +glext/GL_ARB_texture_env_dot3 +glext/GL_ARB_texture_mirrored_repeat +glext/GL_ARB_texture_non_power_of_two +glext/GL_ARB_transpose_matrix +glext/GL_ARB_vertex_blend +glext/GL_ARB_vertex_buffer_object +glext/GL_ARB_vertex_program +glext/GL_ARB_vertex_shader +glext/GL_ARB_window_pos +glext/GL_ATIX_point_sprites +glext/GL_ATIX_texture_env_combine3 +glext/GL_ATIX_texture_env_route +glext/GL_ATIX_vertex_shader_output_point_size +glext/GL_ATI_draw_buffers +glext/GL_ATI_element_array +glext/GL_ATI_envmap_bumpmap +glext/GL_ATI_fragment_shader +glext/GL_ATI_map_object_buffer +glext/GL_ATI_pn_triangles +glext/GL_ATI_separate_stencil +glext/GL_ATI_text_fragment_shader +glext/GL_ATI_texture_env_combine3 +glext/GL_ATI_texture_float +glext/GL_ATI_texture_mirror_once +glext/GL_ATI_vertex_array_object +glext/GL_ATI_vertex_attrib_array_object +glext/GL_ATI_vertex_streams +glext/GL_EXT_422_pixels +glext/GL_EXT_abgr +glext/GL_EXT_bgra +glext/GL_EXT_blend_color +glext/GL_EXT_blend_equation_separate +glext/GL_EXT_blend_func_separate +glext/GL_EXT_blend_logic_op +glext/GL_EXT_blend_minmax +glext/GL_EXT_blend_subtract +glext/GL_EXT_clip_volume_hint +glext/GL_EXT_cmyka +glext/GL_EXT_color_subtable +glext/GL_EXT_compiled_vertex_array +glext/GL_EXT_convolution +glext/GL_EXT_coordinate_frame +glext/GL_EXT_copy_texture +glext/GL_EXT_cull_vertex +glext/GL_EXT_depth_bounds_test +glext/GL_EXT_draw_range_elements +glext/GL_EXT_fog_coord +glext/GL_EXT_fragment_lighting +glext/GL_EXT_histogram +glext/GL_EXT_index_array_formats +glext/GL_EXT_index_func +glext/GL_EXT_index_material +glext/GL_EXT_index_texture +glext/GL_EXT_light_texture +glext/GL_EXT_misc_attribute +glext/GL_EXT_multi_draw_arrays +glext/GL_EXT_multisample +glext/GL_EXT_packed_pixels +glext/GL_EXT_paletted_texture +glext/GL_EXT_pixel_transform +glext/GL_EXT_pixel_transform_color_table +glext/GL_EXT_point_parameters +glext/GL_EXT_polygon_offset +glext/GL_EXT_rescale_normal +glext/GL_EXT_scene_marker +glext/GL_EXT_secondary_color +glext/GL_EXT_separate_specular_color +glext/GL_EXT_shadow_funcs +glext/GL_EXT_shared_texture_palette +glext/GL_EXT_stencil_two_side +glext/GL_EXT_stencil_wrap +glext/GL_EXT_subtexture +glext/GL_EXT_texture +glext/GL_EXT_texture3D +glext/GL_EXT_texture_compression_s3tc +glext/GL_EXT_texture_cube_map +glext/GL_EXT_texture_edge_clamp +glext/GL_EXT_texture_env +glext/GL_EXT_texture_env_add +glext/GL_EXT_texture_env_combine +glext/GL_EXT_texture_env_dot3 +glext/GL_EXT_texture_filter_anisotropic +glext/GL_EXT_texture_lod_bias +glext/GL_EXT_texture_mirror_clamp +glext/GL_EXT_texture_object +glext/GL_EXT_texture_perturb_normal +glext/GL_EXT_texture_rectangle +glext/GL_EXT_vertex_array +glext/GL_EXT_vertex_shader +glext/GL_EXT_vertex_weighting +glext/GL_HP_convolution_border_modes +glext/GL_HP_image_transform +glext/GL_HP_occlusion_test +glext/GL_HP_texture_lighting +glext/GL_IBM_cull_vertex +glext/GL_IBM_multimode_draw_arrays +glext/GL_IBM_rasterpos_clip +glext/GL_IBM_static_data +glext/GL_IBM_texture_mirrored_repeat +glext/GL_IBM_vertex_array_lists +glext/GL_INGR_color_clamp +glext/GL_INGR_interlace_read +glext/GL_INTEL_parallel_arrays +glext/GL_INTEL_texture_scissor +glext/GL_MESA_pack_invert +glext/GL_MESA_resize_buffers +glext/GL_MESA_window_pos +glext/GL_MESA_ycbcr_texture +glext/GL_NV_blend_square +glext/GL_NV_copy_depth_to_color +glext/GL_NV_depth_clamp +glext/GL_NV_element_array +glext/GL_NV_evaluators +glext/GL_NV_fence +glext/GL_NV_float_buffer +glext/GL_NV_fog_distance +glext/GL_NV_fragment_program +glext/GL_NV_half_float +glext/GL_NV_light_max_exponent +glext/GL_NV_multisample_filter_hint +glext/GL_NV_occlusion_query +glext/GL_NV_packed_depth_stencil +glext/GL_NV_pixel_data_range +glext/GL_NV_point_sprite +glext/GL_NV_primitive_restart +glext/GL_NV_register_combiners +glext/GL_NV_register_combiners2 +glext/GL_NV_texgen_emboss +glext/GL_NV_texgen_reflection +glext/GL_NV_texture_compression_vtc +glext/GL_NV_texture_env_combine4 +glext/GL_NV_texture_expand_normal +glext/GL_NV_texture_rectangle +glext/GL_NV_texture_shader +glext/GL_NV_texture_shader2 +glext/GL_NV_texture_shader3 +glext/GL_NV_vertex_array_range +glext/GL_NV_vertex_array_range2 +glext/GL_NV_vertex_program +glext/GL_NV_vertex_program1_1 +glext/GL_NV_vertex_program2 +glext/GL_OML_interlace +glext/GL_OML_resample +glext/GL_OML_subsample +glext/GL_PGI_misc_hints +glext/GL_PGI_vertex_hints +glext/GL_REND_screen_coordinates +glext/GL_S3_s3tc +glext/GL_SGIS_color_range +glext/GL_SGIS_detail_texture +glext/GL_SGIS_fog_function +glext/GL_SGIS_generate_mipmap +glext/GL_SGIS_multisample +glext/GL_SGIS_pixel_texture +glext/GL_SGIS_sharpen_texture +glext/GL_SGIS_texture4D +glext/GL_SGIS_texture_border_clamp +glext/GL_SGIS_texture_edge_clamp +glext/GL_SGIS_texture_filter4 +glext/GL_SGIS_texture_lod +glext/GL_SGIS_texture_select +glext/GL_SGIX_async +glext/GL_SGIX_async_histogram +glext/GL_SGIX_async_pixel +glext/GL_SGIX_blend_alpha_minmax +glext/GL_SGIX_clipmap +glext/GL_SGIX_depth_texture +glext/GL_SGIX_flush_raster +glext/GL_SGIX_fog_offset +glext/GL_SGIX_fog_texture +glext/GL_SGIX_fragment_specular_lighting +glext/GL_SGIX_framezoom +glext/GL_SGIX_interlace +glext/GL_SGIX_ir_instrument1 +glext/GL_SGIX_list_priority +glext/GL_SGIX_pixel_texture +glext/GL_SGIX_pixel_texture_bits +glext/GL_SGIX_reference_plane +glext/GL_SGIX_resample +glext/GL_SGIX_shadow +glext/GL_SGIX_shadow_ambient +glext/GL_SGIX_sprite +glext/GL_SGIX_tag_sample_buffer +glext/GL_SGIX_texture_add_env +glext/GL_SGIX_texture_coordinate_clamp +glext/GL_SGIX_texture_lod_bias +glext/GL_SGIX_texture_multi_buffer +glext/GL_SGIX_texture_range +glext/GL_SGIX_texture_scale_bias +glext/GL_SGIX_vertex_preclip +glext/GL_SGIX_vertex_preclip_hint +glext/GL_SGIX_ycrcb +glext/GL_SGI_color_matrix +glext/GL_SGI_color_table +glext/GL_SGI_texture_color_table +glext/GL_SUNX_constant_data +glext/GL_SUN_convolution_border_modes +glext/GL_SUN_global_alpha +glext/GL_SUN_mesh_array +glext/GL_SUN_read_video_pixels +glext/GL_SUN_slice_accum +glext/GL_SUN_triangle_list +glext/GL_SUN_vertex +glext/GL_WIN_phong_shading +glext/GL_WIN_specular_fog +glext/GL_WIN_swap_hint diff --git a/MIT.X11 b/MIT.X11 new file mode 100644 index 0000000..8029406 --- /dev/null +++ b/MIT.X11 @@ -0,0 +1,21 @@ +Copyright (c) 2004 Vladimir Vukicevic and the individuals listed +on the ChangeLog entries. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..71f5e95 --- /dev/null +++ b/Makefile @@ -0,0 +1,34 @@ +MCS = mcs +MCSFLAGS = +CSGENOPTS = +RUNTIME = mono +# MCS = csc +# MCSFLAGS = /d:WIN32 +# CSGENOPTS = WIN32 +# RUNTIME = +CORE_FILES = `cat CORE_files` +EXT_FILES = `cat EXT_files` + +all: TsunamiBindingsGl.dll + +TsunamiBindingsGl.dll: TsunamiBindingsGl-pre.dll gl_postprocess.exe + $(RUNTIME) ./gl_postprocess.exe TsunamiBindingsGl-pre.dll TsunamiBindingsGl.dll + +gl_postprocess.exe: gl_postprocess.cs TsunamiBindingsCore.dll + $(MCS) $(MCSFLAGS) /r:TsunamiBindingsCore.dll gl_postprocess.cs + +TsunamiBindingsCore.dll: TsunamiBindingsCore.cs + $(MCS) $(MCSFLAGS) /target:library TsunamiBindingsCore.cs + +TsunamiBindingsGl-pre.dll: TsunamiBindingsGl-pre.cs TsunamiBindingsCore.dll + $(MCS) $(MCSFLAGS) /target:library /unsafe /r:TsunamiBindingsCore.dll TsunamiBindingsGl-pre.cs + +TsunamiBindingsGl-pre.cs: TsunamiBindingsGl-part.cs + cat gl_preamble.cs TsunamiBindingsGl-part.cs gl_postamble.cs > TsunamiBindingsGl-pre.cs + +TsunamiBindingsGl-part.cs: csgen.pl + perl csgen.pl $(CSGENOPTS) CORE $(CORE_FILES) EXT $(EXT_FILES) > TsunamiBindingsGl-part.cs + +clean: + rm -f gl_postprocess.exe TsunamiBindingsCore.dll TsunamiBindingsGl-pre.dll TsunamiBindingsGl-pre.cs TsunamiBindingsGl-part.cs TsunamiBindingsGl.dll + diff --git a/README b/README new file mode 100644 index 0000000..baf0efe --- /dev/null +++ b/README @@ -0,0 +1,56 @@ +Tsunami.Bindings +================ +March, 2004 +Vladimir Vukicevic +vladimir@pobox.com + +Introduction +------------ + +Tsunami.Bindings is an OpenGL C# binding that efficiently deals with +extensions. Building involves potentially editing the makefile if +you're on WIN32, and then typing "make". Note that a cygwin +environment is assumed; at the very least, make and perl should be +available. + +Both TsunamiBindingsCore.dll and TsunamiBindingsGl.dll need to be +referenced in your application. There is no wrapping of GLX/WGL/AGL +functions or extensions done at the moment, though that may happen in +the future (patches appreciated!). + +Note that the "gl" and "GL_" prefixes have been stripped from function +and constant names; thus, Gl.ClearColor(...) instead of +Gl.glClearColor(...). The GL_ prefix is left on a very few enumerants +where the remainder of the symbol starts with a numeral. For example, +GL_3D_... is left as GL_3D_... The prefix stripping can be disabled +by editing csgen.pl. + +Extension Handling Strategy +--------------------------- + +For each extension that you want to use, you must do: + + using Tsunami.Bindings; + GlExtensionLoader.GetInstance().LoadExtension + ("GL_ARB_vertex_buffer_object"); + +These calls must take place after the OpenGL context is established, +but obviously before any extension method invocations take place. + +Extension data is parsed from files which were spit out by the GLEW +(http://glew.sourceforge.net/) tools, which process the extension +specifications themselves. They are further hand-edited to include +method overloads, allow the usage of array types, ref/out types, and +similar. Note that this is an ongoing process; only a very small +number of methods have been fully C#-ified, but the process to do so +is very simple -- just edit the appropriate glcore/* or glext/* file, +copy the line, and modify the signature to what it should be. + +A custom attribute is added to each extension method to identify its +parent extension and original method name. LoadExtension() uses this +attribute information to know which methods need to be loaded. + +The postprocessor takes the compiled assembly and generates a new +assembly using Reflection.Emit, with IL to invoke the native methods +at addresses stored in fields in the Gl class (which are filled in at +LoadExtension time). diff --git a/TsunamiBindingsCore.cs b/TsunamiBindingsCore.cs new file mode 100644 index 0000000..fe26799 --- /dev/null +++ b/TsunamiBindingsCore.cs @@ -0,0 +1,119 @@ +// +// Tsunami.Bindings core +// +// Copyright (c) 2004 Vladimir Vukicevic +// +// Tsunami.Bindings code and DLLs are licensed under the MIT/X11 +// license. Please see the file MIT.X11 for more information. +// + +using System; +using System.Collections; +using System.Runtime.InteropServices; +using System.Reflection; + +namespace Tsunami.Bindings { + public class GlDetails { +#if WIN32 + public const string GL_NATIVE_LIBRARY = "opengl32.dll"; + public const string GL_EXTENSION_QUERY_PROC = "wglGetProcAddress"; + public const CallingConvention GL_NATIVE_CALLCONV = CallingConvention.StdCall; +#elif MACOSX +// I have no idea +// public const string GL_NATIVE_LIBRARY = ; +// public const string GL_EXTENSION_QUERY_PROC = "aglGetProcAddress"; +// public const CallingConvention GL_NATIVE_CALLCONV = CallingConvention.Cdecl; +#else + public const string GL_NATIVE_LIBRARY = "libGL.so"; + public const string GL_EXTENSION_QUERY_PROC = "glxGetProcAddress"; + public const CallingConvention GL_NATIVE_CALLCONV = CallingConvention.Cdecl; +#endif + } + + [AttributeUsage(AttributeTargets.Method)] + public class OpenGLExtensionImport : Attribute { + public string ExtensionName; + public string EntryPoint; + + public OpenGLExtensionImport (string ExtensionName, string EntryPoint) { + this.ExtensionName = ExtensionName; + this.EntryPoint = EntryPoint; + } + } + + public class GlExtensionLoader { + private static Type tsunamigl; + private static GlExtensionLoader loaderInst; + + private Hashtable loadedExtensions; + + public static GlExtensionLoader GetInstance() { + if (loaderInst == null) { + loaderInst = new GlExtensionLoader(); + } + return loaderInst; + } + + [DllImport(GlDetails.GL_NATIVE_LIBRARY, EntryPoint=GlDetails.GL_EXTENSION_QUERY_PROC, CallingConvention=GlDetails.GL_NATIVE_CALLCONV)] + internal static extern IntPtr GetProcAddress(string s); + + protected GlExtensionLoader () { + loadedExtensions = new Hashtable(); + } + + public bool LoadExtension (string extname) { + if (loadedExtensions.ContainsKey (extname)) { + return (bool) loadedExtensions[extname]; + } + + bool result = true; + + Type glt = null; + Assembly [] asss = AppDomain.CurrentDomain.GetAssemblies(); + foreach (Assembly a in asss) { + glt = a.GetType("Tsunami.Gl"); + if (glt != null) + break; + } + + if (glt == null) { + Console.WriteLine ("Couldn't find Tsunami.Gl assembly in current AppDomain!"); + return false; + } + + MethodInfo [] mis = glt.GetMethods (BindingFlags.Public | + BindingFlags.Static | + BindingFlags.DeclaredOnly); + foreach (MethodInfo mi in mis) { + object [] atts = mi.GetCustomAttributes (typeof(OpenGLExtensionImport), false); + if (atts.Length == 0) { + continue; + } + + OpenGLExtensionImport oglext = (OpenGLExtensionImport) atts[0]; + if (oglext.ExtensionName == extname) { + Console.WriteLine ("Loading " + oglext.EntryPoint + " for " + extname); + + FieldInfo fi = glt.GetField ("ext__" + extname + "__" + oglext.EntryPoint, + BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly); + if (fi == null) { + Console.WriteLine ("Can't get extension field!"); + continue; + } + + IntPtr procaddr = GetProcAddress (oglext.EntryPoint); + if (procaddr == IntPtr.Zero) { + Console.WriteLine ("Failed for " + oglext.EntryPoint); + result = false; + break; + } + + fi.SetValue (glt, procaddr); + } + } + + loadedExtensions[extname] = result; + return result; + } + } +} diff --git a/csgen.pl b/csgen.pl new file mode 100644 index 0000000..3d37aa2 --- /dev/null +++ b/csgen.pl @@ -0,0 +1,293 @@ +## +## csgen.pl +## Copyright (C) 2004 Vladimir Vukicevic +## +## Portions taken from GLEW (http://glew.sourceforge.net/), which is +## Copyright (C) 2004, 2003 Marcelo E. Magallon +## Copyright (C) 2004, 2003 Milan Ikits +## +## This program is distributed under the terms and conditions of the GNU +## General Public License Version 2 as published by the Free Software +## Foundation or, at your option, any later version. +## +## Please see the file "COPYING" for more information +## +use Data::Dumper; + +$strip_prefix = 1; +#$cconv = "GlDetails.GL_NATIVE_CALLCONV"; +$cconv = "CallingConvention.Cdecl"; + +my %regex = (extname => qr/^[A-Z][A-Za-z0-9_]+$/, + exturl => qr/^http.+$/, + function => qr/^(.+) ([a-z][a-z0-9_]*) \((.+)\)( *= .*)?$/i, + token => qr/^([A-Z][A-Z0-9_]*)\s+((?:0x)?[0-9A-F]+|[A-Z][A-Z0-9_]*)$/, + type => qr/^typedef\s+(.+)\s+([\*A-Za-z0-9_]+)$/, + exact => qr/.*;$/, + ); + +my %typemap = ('GLenum' => 'unsigned int', + 'GLboolean' => 'bool', # uchar + 'GLbitfield' => 'unsigned int', + 'GLvoid' => 'void', + 'GLbyte' => 'byte', + 'GLshort' => 'short', + 'GLint' => 'int', + 'GLubyte' => 'unsigned byte', + 'GLushort' => 'unsigned short', + 'GLuint' => 'unsigned int', + 'GLsizei' => 'int', + 'GLfloat' => 'float', + 'GLdouble' => 'double', + 'GLclampd' => 'double', + + 'GLsizeiptrARB' => 'IntPtr', + 'GLintptrARB' => 'IntPtr', + 'GLhalf' => 'unsigned short', + 'GLcharARB' => 'byte', + 'GLhandleARB' => 'int', + + + 'GLXContextID' => 'int', + 'GLXFBConfigIDSGIX' => 'int', + 'GLXPbufferSGIX' => 'int', +); + +sub parse_ext($) +{ + my $filename = shift; + my @functions; + my %tokens = (); + my %types = (); + my @exacts = (); + my $extname = ""; + my $exturl = ""; + + open EXT, "<$filename" or return; + + while () { + chomp; + if (/$regex{extname}/) { + $extname = $_; + next; + } elsif (/$regex{exturl}/) { + $exturl = $_; + } elsif (s/^\s+//) { + if (/$regex{exact}/) { + push @exacts, $_; + } elsif (/$regex{type}/) { + my ($value, $name) = ($1, $2); + $types{$name} = $value; + } elsif (/$regex{token}/) { + my ($name, $value) = ($1, $2); + $tokens{$name} = $value; + } elsif (/$regex{function}/) { + my ($return, $name, $parms, $realname) = ($1, $2, $3, $4); + + $realname =~ s/^ *= *//; + $realname =~ s/ *$//; + + if ($realname eq "") { + $realname = $name; + } + + push (@functions, {name => $name, + rtype => $return, + parms => $parms, + realname => $realname, + }); + } + } + } + + close EXT; + + return ($extname, $exturl, \%types, \%tokens, \@functions, \@exacts); +} + +sub output_header ($$) +{ + $extname = shift; + $exturl = shift; + + print " //\n"; + print " // $extname\n"; + print " // $exturl\n"; + print " //\n"; +} + +%enum_hash = (); + +sub output_enum ($$) +{ + $name = shift; + $val = shift; + + if ($strip_prefix && !($name =~ /^GL_[0-9]/)) { + $name =~ s/^GL_//; + } + + if ($strip_prefix && !($val =~ /^GL_[0-9]/)) { + $val =~ s/^GL_//; + } + + if (defined($enum_hash{$name})) { + if (!($enum_hash{$name} eq $val)) { + print STDERR "$name previously defined as %enum_hash{$name} and now $val\n"; + } + return; + } + + $enum_hash{$name} = $val; + print " public const uint " . $name . " = " . $val . ";\n"; +} + +%seenextfields = (); + +sub output_func ($$) +{ + my $extname = shift; + my $fdata = shift; + + $fname = $fdata->{'name'}; + $usefname = $fname; + $frtype = $fdata->{'rtype'}; + $fallparms = $fdata->{'parms'}; + $unsafe = ""; + + # fix up some things that are keywords, argh + $fallparms =~ s/GLvoid/void/g; + $fallparms =~ s/const//g; + $fallparms =~ s/params/paramz/g; + $fallparms =~ s/ ref,/ glref,/g; + $fallparms =~ s/ ref *$/ glref/g; + $fallparms =~ s/ base/ glbase/g; + $fallparms =~ s/ out,/ glout,/g; + $fallparms =~ s/ out *$/ glout/g; + $fallparms =~ s/ in,/ glin,/g; + $fallparms =~ s/ in *$/ glin/g; + $fallparms =~ s/ object/ globj/g; + $fallparms =~ s/ string/ glstring/g; + # sigh + $fallparms =~ s/ m\[16\]/ *m/g; + $fallparms =~ s/ v\[\]/ *v/g; + + # this function leaves off a name for the last parameter. + # sigh++ + if ($usefname eq "glWindowPos4dMESA") { + $fallparms .= " w"; + } + + # nuke const's from the resturn type + $frtype =~ s/const//g; + # change GLvoid's to voids, as void can't + # be aliased + $frtype =~ s/GLvoid/void/g; + + if ($strip_prefix) { + $usefname =~ s/^gl//; + } + + if (defined $fdata->{'realname'}) { + $fname = $fdata->{'realname'}; + } + + # if the entire param list is void, then we "" it + if ($fallparms =~ /^ *void *$/i) { + $fallparms = ""; + } + + if ($fallparms =~ m/\*/ || $frtype =~ m/\*/) { + $unsafe = "unsafe"; + } + + ## The idea here is to automatically take things like + ## "GLfloat *f" and spit out bindings for + ## "GLfloat *f" and "GLfloat [] f"; also + ## if the name ended in something like "3fv", spit out + ## "ref Vector3 v" too. But, it's probably easiest to + ## just do these by hand, especially since we don't + ## really care to support glVertex*, glNormal*, etc. + if (0) { + # now rebuild the param lists + @paramlists = []; + @fparms = split (/, */, $fallparms); + + foreach my $fp (@fparms) { + # A little gross -- we want types in $ft, but * placement + # is inconsistent.. so we strip any leading *'s from $fn + # and tack them onto the end of $ft + $fp =~ /(.*) ([^ ]*)/; + ($ft, $fn) = ($1, $2); + if ($fn =~ /^(\*+)(.*)/) { + $ft .= $1; + $fn = $2; + } + + $ft =~ /( *\*+)*$/; + $stars = $1; + } + } + + # if extname is 0, it means it's a core GL function + # and shouldn't get ExtensionAttribute info, but instead + # a straight DllImport + if ($extname eq "CORE") { + print " [DllImport(GlDetails.GL_NATIVE_LIBRARY, EntryPoint=\"$fname\", CallingConvention=$cconv, ExactSpelling=true)]\n"; + print " public static extern $unsafe $frtype $usefname ($fallparms);\n"; + } else { + # else this is an extension, so we need to not have a DllImport, but an attribute here + $extfield = "ext__" . $extname . "__" . $fname; + if (!defined($seenextfields{$extfield})) { + print " public static IntPtr $extfield = IntPtr.Zero;\n"; + $seenextfields{$extfield} = 1; + } + + print " [OpenGLExtensionImport(\"$extname\", \"$fname\")]\n"; + print " public static $unsafe $frtype $usefname ($fallparms) {\n"; + print " throw new InvalidOperationException(\"binding error\");\n"; + print " }\n"; + } + + + print "\n"; +} + +## +## main +## + +$is_core = 0; + +foreach my $extfile (@ARGV) +{ + if ($extfile eq "WIN32") { + $cconv = "CallingConvention.StdCall"; + next; + } elsif ($extfile eq "CORE") { + $is_core = 1; + next; + } elsif ($extfile eq "EXT") { + $is_core = 0; + next; + } + + my ($extname, $exturl, $types, $tokens, $funcs, $exacts) = parse_ext($extfile); + + # write a header + output_header ($extname, $exturl); + + print "\n"; + + # write the constant tokens + foreach my $tok (keys %$tokens) { + output_enum ($tok, $tokens->{$tok}); + } + + print "\n"; + + # now write funcs + foreach my $func (@$funcs) { + output_func ($is_core ? "CORE" : $extname, $func); + } +} diff --git a/gl_postamble.cs b/gl_postamble.cs new file mode 100644 index 0000000..4a90ec7 --- /dev/null +++ b/gl_postamble.cs @@ -0,0 +1,3 @@ + + } +} diff --git a/gl_postprocess.cs b/gl_postprocess.cs new file mode 100644 index 0000000..39ed9c6 --- /dev/null +++ b/gl_postprocess.cs @@ -0,0 +1,170 @@ +// +// gl_postprocess.cs +// +// Copyright (C) 2004 Vladimir Vukicevic +// +// This file is licensed under the GNU GPL; for more information, +// see the file COPYING.GPL +// + + +using System; +using System.Collections; +using System.Reflection; +using System.Reflection.Emit; +using System.Runtime.InteropServices; + +public class GLPostProcess { + + // duplicated from GlDetails due to a mcs bug +#if WIN32 + public const string GL_NATIVE_LIBRARY = "opengl32.dll"; + public const CallingConvention GL_NATIVE_CALLCONV = CallingConvention.StdCall; +#elif MACOSX +// I have no idea +// public const string GL_NATIVE_LIBRARY = ; +// public const CallingConvention GL_NATIVE_CALLCONV = CallingConvention.Cdecl; +#else + public const string GL_NATIVE_LIBRARY = "libGL.so"; + public const CallingConvention GL_NATIVE_CALLCONV = CallingConvention.Cdecl; +#endif + + public static void Main(string [] args) { + string inName = args[0]; + string outName = args[1]; + +#if WIN32 + // The MS runtime doesn't support a bunch of queries on + // dynamic modules, so we have to track this stuff ourselves + Hashtable field_hash = new Hashtable(); +#endif + + AssemblyName outAsName = new AssemblyName(); + outAsName.Name = "TsunamiBindingsGl"; + + AssemblyBuilder abuilder = AppDomain.CurrentDomain.DefineDynamicAssembly + (outAsName, AssemblyBuilderAccess.Save); + ModuleBuilder mbuilder = abuilder.DefineDynamicModule(outName, outName); + TypeBuilder glbuilder = mbuilder.DefineType("Tsunami.Bindings.Gl", + TypeAttributes.Public | + TypeAttributes.Class | + TypeAttributes.Sealed); + + Assembly inputAssembly = Assembly.LoadFrom(inName); + Type gltype = inputAssembly.GetType("Tsunami.Bindings.Gl"); + MemberInfo [] glMembers = gltype.GetMembers(BindingFlags.Instance | + BindingFlags.Static | + BindingFlags.Public | + BindingFlags.NonPublic | + BindingFlags.DeclaredOnly); + + foreach (MemberInfo qi in glMembers) { + + // Fields + FieldInfo fi = qi as FieldInfo; + if (fi != null) { + // Console.WriteLine ("FIELD: " + fi.Name); + FieldBuilder fb = glbuilder.DefineField (fi.Name, fi.FieldType, fi.Attributes); + if (fi.FieldType != typeof(System.IntPtr)) { + fb.SetConstant (fi.GetValue (gltype)); + } else { +#if WIN32 + // this is a slot to hold an extension addr, + // so we save it + field_hash[fi.Name] = fb; +#endif + } + continue; + } + + // Methods + MethodInfo mi = qi as MethodInfo; + if (mi != null) { + bool is_ext; + bool is_dll; + object [] extattrs = mi.GetCustomAttributes (typeof(Tsunami.Bindings.OpenGLExtensionImport), false); + + is_ext = (extattrs.Length > 0); + is_dll = (mi.Attributes & MethodAttributes.PinvokeImpl) != 0; + + ParameterInfo [] parms = mi.GetParameters(); + Type [] methodSig = new Type [parms.Length]; + for (int i = 0; i < parms.Length; i++) { + methodSig[i] = parms[i].ParameterType; + } + + if (is_ext && is_dll) { + throw new InvalidOperationException ("Something can't be both ext and dll"); + } + + if (is_dll) { + // this is a normal DLL import'd method + // Console.WriteLine ("DLL import method: " + mi.Name); + MethodBuilder mb = glbuilder.DefinePInvokeMethod (mi.Name, GL_NATIVE_LIBRARY, "gl" + mi.Name, + mi.Attributes, + CallingConventions.Standard, + mi.ReturnType, methodSig, + GL_NATIVE_CALLCONV, + CharSet.Ansi); + } else if (is_ext) { + // this is an OpenGLExtensionImport method + // Console.WriteLine ("OpenGLExtensionImport method: " + mi.Name); + Tsunami.Bindings.OpenGLExtensionImport ogl = extattrs[0] as Tsunami.Bindings.OpenGLExtensionImport; + + MethodBuilder mb = glbuilder.DefineMethod (mi.Name, mi.Attributes, mi.ReturnType, methodSig); + // put the custom attribute back, so that we can reference it + // at runtime for LoadExtension + mb.SetCustomAttribute (CreateGLExtCAB (ogl.ExtensionName, ogl.EntryPoint)); + // now build the IL + string fieldname = "ext__" + ogl.ExtensionName + "__" + ogl.EntryPoint; +#if WIN32 + FieldInfo addrfield = field_hash[fieldname] as FieldInfo; +#else + FieldInfo addrfield = glbuilder.GetField(fieldname, + BindingFlags.Instance | + BindingFlags.Static | + BindingFlags.Public | + BindingFlags.NonPublic | + BindingFlags.DeclaredOnly); +#endif + + ILGenerator ilg = mb.GetILGenerator(); + { + int numargs = methodSig.Length; + for (int i = 0; i < numargs; i++) { + switch (i) { + case 0: ilg.Emit(OpCodes.Ldarg_0); break; + case 1: ilg.Emit(OpCodes.Ldarg_1); break; + case 2: ilg.Emit(OpCodes.Ldarg_2); break; + case 3: ilg.Emit(OpCodes.Ldarg_3); break; + default:ilg.Emit(OpCodes.Ldarg_S, i); break; + } + } + ilg.Emit(OpCodes.Ldsfld, addrfield); + ilg.EmitCalli(OpCodes.Calli, GL_NATIVE_CALLCONV, mi.ReturnType, methodSig); + } + ilg.Emit(OpCodes.Ret); + } else { + // this is a normal method + // this shouldn't happen + Console.WriteLine ("WARNING: Skipping non-DLL and non-Ogl method " + mi.Name); + } + + continue; + } + } + + glbuilder.CreateType(); + mbuilder.CreateGlobalFunctions(); + + abuilder.Save(outName); + } + + static CustomAttributeBuilder CreateGLExtCAB (string extname, string procname) { + Type [] ctorParams = new Type [] { typeof(string), typeof(string) }; + ConstructorInfo classCtorInfo = typeof(Tsunami.Bindings.OpenGLExtensionImport).GetConstructor (ctorParams); + CustomAttributeBuilder cab = new CustomAttributeBuilder (classCtorInfo, + new object [] { extname, procname } ); + return cab; + } +} diff --git a/gl_preamble.cs b/gl_preamble.cs new file mode 100644 index 0000000..a93d960 --- /dev/null +++ b/gl_preamble.cs @@ -0,0 +1,44 @@ +// +// Tsunami.Bindings.Gl +// +// Copyright (c) 2004 Vladimir Vukicevic +// +// Tsunami.Bindings code and DLLs are licensed under the MIT/X11 +// license. Please see the file MIT.X11 for more information. +// + +using System; +using System.Runtime.InteropServices; + +using GLenum = System.UInt32; +using GLboolean = System.Boolean; +using GLbitfield = System.UInt32; +using GLbyte = System.Byte; +using GLubyte = System.Byte; +using GLshort = System.Int16; +using GLushort = System.UInt16; +using GLint = System.Int32; +using GLuint = System.UInt32; +using GLsizei = System.Int32; +using GLfloat = System.Single; +using GLclampf = System.Single; +using GLdouble = System.Double; +using GLclampd = System.Double; + +//using GLsizeiptr = System.IntPtr; +//using GLintptr = System.IntPtr; +//using GLsizeiptrARB = System.IntPtr; +//using GLintptrARB = System.IntPtr; +using GLsizeiptr = System.UInt32; +using GLintptr = System.UInt32; +using GLsizeiptrARB = System.UInt32; +using GLintptrARB = System.UInt32; +using GLhalf = System.UInt16; +using GLchar = System.Byte; +using GLcharARB = System.Byte; +using GLhandle = System.Int32; +using GLhandleARB = System.Int32; + +namespace Tsunami.Bindings { + + public sealed class Gl { diff --git a/glcore/GLX_VERSION_1_2 b/glcore/GLX_VERSION_1_2 new file mode 100644 index 0000000..9dca7ec --- /dev/null +++ b/glcore/GLX_VERSION_1_2 @@ -0,0 +1,2 @@ +GLX_VERSION_1_2 + Display* glXGetCurrentDisplay (void) diff --git a/glcore/GLX_VERSION_1_3 b/glcore/GLX_VERSION_1_3 new file mode 100644 index 0000000..dc69fb8 --- /dev/null +++ b/glcore/GLX_VERSION_1_3 @@ -0,0 +1,80 @@ +GLX_VERSION_1_3 + GLX_WINDOW_BIT 0x00000001 + GLX_PIXMAP_BIT 0x00000002 + GLX_PBUFFER_BIT 0x00000004 + GLX_RGBA_BIT 0x00000001 + GLX_COLOR_INDEX_BIT 0x00000002 + GLX_PBUFFER_CLOBBER_MASK 0x08000000 + GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 + GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 + GLX_BACK_LEFT_BUFFER_BIT 0x00000004 + GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 + GLX_AUX_BUFFERS_BIT 0x00000010 + GLX_DEPTH_BUFFER_BIT 0x00000020 + GLX_STENCIL_BUFFER_BIT 0x00000040 + GLX_ACCUM_BUFFER_BIT 0x00000080 + GLX_CONFIG_CAVEAT 0x20 + GLX_X_VISUAL_TYPE 0x22 + GLX_TRANSPARENT_TYPE 0x23 + GLX_TRANSPARENT_INDEX_VALUE 0x24 + GLX_TRANSPARENT_RED_VALUE 0x25 + GLX_TRANSPARENT_GREEN_VALUE 0x26 + GLX_TRANSPARENT_BLUE_VALUE 0x27 + GLX_TRANSPARENT_ALPHA_VALUE 0x28 + GLX_DONT_CARE 0xFFFFFFFF + GLX_NONE 0x8000 + GLX_SLOW_CONFIG 0x8001 + GLX_TRUE_COLOR 0x8002 + GLX_DIRECT_COLOR 0x8003 + GLX_PSEUDO_COLOR 0x8004 + GLX_STATIC_COLOR 0x8005 + GLX_GRAY_SCALE 0x8006 + GLX_STATIC_GRAY 0x8007 + GLX_TRANSPARENT_RGB 0x8008 + GLX_TRANSPARENT_INDEX 0x8009 + GLX_VISUAL_ID 0x800B + GLX_SCREEN 0x800C + GLX_NON_CONFORMANT_CONFIG 0x800D + GLX_DRAWABLE_TYPE 0x8010 + GLX_RENDER_TYPE 0x8011 + GLX_X_RENDERABLE 0x8012 + GLX_FBCONFIG_ID 0x8013 + GLX_RGBA_TYPE 0x8014 + GLX_COLOR_INDEX_TYPE 0x8015 + GLX_MAX_PBUFFER_WIDTH 0x8016 + GLX_MAX_PBUFFER_HEIGHT 0x8017 + GLX_MAX_PBUFFER_PIXELS 0x8018 + GLX_PRESERVED_CONTENTS 0x801B + GLX_LARGEST_PBUFFER 0x801C + GLX_WIDTH 0x801D + GLX_HEIGHT 0x801E + GLX_EVENT_MASK 0x801F + GLX_DAMAGED 0x8020 + GLX_SAVED 0x8021 + GLX_WINDOW 0x8022 + GLX_PBUFFER 0x8023 + GLX_PBUFFER_HEIGHT 0x8040 + GLX_PBUFFER_WIDTH 0x8041 + GLXFBConfig* glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements) + GLXFBConfig* glXGetFBConfigs (Display *dpy, int screen, int *nelements) + XVisualInfo* glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config) + int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value) + GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list) + void glXDestroyWindow (Display *dpy, GLXWindow win) + GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list) + void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap) + GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list) + void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf) + void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value) + GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct) + Bool glXMakeContextCurrent (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx) + GLXDrawable glXGetCurrentReadDrawable (void) + int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value) + void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask) + void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask) + typedef XID GLXWindow + typedef XID GLXPbuffer + typedef XID GLXFBConfigID + typedef struct __GLXFBConfigRec *GLXFBConfig + typedef struct { int event_type; int draw_type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; unsigned int buffer_mask; unsigned int aux_buffer; int x, y; int width, height; int count; } GLXPbufferClobberEvent + typedef union __GLXEvent { GLXPbufferClobberEvent glxpbufferclobber; long pad[24]; } GLXEvent diff --git a/glcore/GLX_VERSION_1_4 b/glcore/GLX_VERSION_1_4 new file mode 100644 index 0000000..881e7b6 --- /dev/null +++ b/glcore/GLX_VERSION_1_4 @@ -0,0 +1,4 @@ +GLX_VERSION_1_4 + GLX_SAMPLE_BUFFERS 100000 + GLX_SAMPLES 100001 + extern void ( * glXGetProcAddress (const GLubyte *procName)) (void); diff --git a/glcore/GL_VERSION_1_1 b/glcore/GL_VERSION_1_1 new file mode 100644 index 0000000..7f6e389 --- /dev/null +++ b/glcore/GL_VERSION_1_1 @@ -0,0 +1,1021 @@ +GL_VERSION_1_1 + GL_ACCUM 0x0100 + GL_LOAD 0x0101 + GL_RETURN 0x0102 + GL_MULT 0x0103 + GL_ADD 0x0104 + GL_NEVER 0x0200 + GL_LESS 0x0201 + GL_EQUAL 0x0202 + GL_LEQUAL 0x0203 + GL_GREATER 0x0204 + GL_NOTEQUAL 0x0205 + GL_GEQUAL 0x0206 + GL_ALWAYS 0x0207 + GL_CURRENT_BIT 0x00000001 + GL_POINT_BIT 0x00000002 + GL_LINE_BIT 0x00000004 + GL_POLYGON_BIT 0x00000008 + GL_POLYGON_STIPPLE_BIT 0x00000010 + GL_PIXEL_MODE_BIT 0x00000020 + GL_LIGHTING_BIT 0x00000040 + GL_FOG_BIT 0x00000080 + GL_DEPTH_BUFFER_BIT 0x00000100 + GL_ACCUM_BUFFER_BIT 0x00000200 + GL_STENCIL_BUFFER_BIT 0x00000400 + GL_VIEWPORT_BIT 0x00000800 + GL_TRANSFORM_BIT 0x00001000 + GL_ENABLE_BIT 0x00002000 + GL_COLOR_BUFFER_BIT 0x00004000 + GL_HINT_BIT 0x00008000 + GL_EVAL_BIT 0x00010000 + GL_LIST_BIT 0x00020000 + GL_TEXTURE_BIT 0x00040000 + GL_SCISSOR_BIT 0x00080000 + GL_ALL_ATTRIB_BITS 0x000fffff + GL_POINTS 0x0000 + GL_LINES 0x0001 + GL_LINE_LOOP 0x0002 + GL_LINE_STRIP 0x0003 + GL_TRIANGLES 0x0004 + GL_TRIANGLE_STRIP 0x0005 + GL_TRIANGLE_FAN 0x0006 + GL_QUADS 0x0007 + GL_QUAD_STRIP 0x0008 + GL_POLYGON 0x0009 + GL_ZERO 0 + GL_ONE 1 + GL_SRC_COLOR 0x0300 + GL_ONE_MINUS_SRC_COLOR 0x0301 + GL_SRC_ALPHA 0x0302 + GL_ONE_MINUS_SRC_ALPHA 0x0303 + GL_DST_ALPHA 0x0304 + GL_ONE_MINUS_DST_ALPHA 0x0305 + GL_DST_COLOR 0x0306 + GL_ONE_MINUS_DST_COLOR 0x0307 + GL_SRC_ALPHA_SATURATE 0x0308 + GL_TRUE 1 + GL_FALSE 0 + GL_CLIP_PLANE0 0x3000 + GL_CLIP_PLANE1 0x3001 + GL_CLIP_PLANE2 0x3002 + GL_CLIP_PLANE3 0x3003 + GL_CLIP_PLANE4 0x3004 + GL_CLIP_PLANE5 0x3005 + GL_BYTE 0x1400 + GL_UNSIGNED_BYTE 0x1401 + GL_SHORT 0x1402 + GL_UNSIGNED_SHORT 0x1403 + GL_INT 0x1404 + GL_UNSIGNED_INT 0x1405 + GL_FLOAT 0x1406 + GL_2_BYTES 0x1407 + GL_3_BYTES 0x1408 + GL_4_BYTES 0x1409 + GL_DOUBLE 0x140A + GL_NONE 0 + GL_FRONT_LEFT 0x0400 + GL_FRONT_RIGHT 0x0401 + GL_BACK_LEFT 0x0402 + GL_BACK_RIGHT 0x0403 + GL_FRONT 0x0404 + GL_BACK 0x0405 + GL_LEFT 0x0406 + GL_RIGHT 0x0407 + GL_FRONT_AND_BACK 0x0408 + GL_AUX0 0x0409 + GL_AUX1 0x040A + GL_AUX2 0x040B + GL_AUX3 0x040C + GL_NO_ERROR 0 + GL_INVALID_ENUM 0x0500 + GL_INVALID_VALUE 0x0501 + GL_INVALID_OPERATION 0x0502 + GL_STACK_OVERFLOW 0x0503 + GL_STACK_UNDERFLOW 0x0504 + GL_OUT_OF_MEMORY 0x0505 + GL_2D 0x0600 + GL_3D 0x0601 + GL_3D_COLOR 0x0602 + GL_3D_COLOR_TEXTURE 0x0603 + GL_4D_COLOR_TEXTURE 0x0604 + GL_PASS_THROUGH_TOKEN 0x0700 + GL_POINT_TOKEN 0x0701 + GL_LINE_TOKEN 0x0702 + GL_POLYGON_TOKEN 0x0703 + GL_BITMAP_TOKEN 0x0704 + GL_DRAW_PIXEL_TOKEN 0x0705 + GL_COPY_PIXEL_TOKEN 0x0706 + GL_LINE_RESET_TOKEN 0x0707 + GL_EXP 0x0800 + GL_EXP2 0x0801 + GL_CW 0x0900 + GL_CCW 0x0901 + GL_COEFF 0x0A00 + GL_ORDER 0x0A01 + GL_DOMAIN 0x0A02 + GL_CURRENT_COLOR 0x0B00 + GL_CURRENT_INDEX 0x0B01 + GL_CURRENT_NORMAL 0x0B02 + GL_CURRENT_TEXTURE_COORDS 0x0B03 + GL_CURRENT_RASTER_COLOR 0x0B04 + GL_CURRENT_RASTER_INDEX 0x0B05 + GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 + GL_CURRENT_RASTER_POSITION 0x0B07 + GL_CURRENT_RASTER_POSITION_VALID 0x0B08 + GL_CURRENT_RASTER_DISTANCE 0x0B09 + GL_POINT_SMOOTH 0x0B10 + GL_POINT_SIZE 0x0B11 + GL_POINT_SIZE_RANGE 0x0B12 + GL_POINT_SIZE_GRANULARITY 0x0B13 + GL_LINE_SMOOTH 0x0B20 + GL_LINE_WIDTH 0x0B21 + GL_LINE_WIDTH_RANGE 0x0B22 + GL_LINE_WIDTH_GRANULARITY 0x0B23 + GL_LINE_STIPPLE 0x0B24 + GL_LINE_STIPPLE_PATTERN 0x0B25 + GL_LINE_STIPPLE_REPEAT 0x0B26 + GL_LIST_MODE 0x0B30 + GL_MAX_LIST_NESTING 0x0B31 + GL_LIST_BASE 0x0B32 + GL_LIST_INDEX 0x0B33 + GL_POLYGON_MODE 0x0B40 + GL_POLYGON_SMOOTH 0x0B41 + GL_POLYGON_STIPPLE 0x0B42 + GL_EDGE_FLAG 0x0B43 + GL_CULL_FACE 0x0B44 + GL_CULL_FACE_MODE 0x0B45 + GL_FRONT_FACE 0x0B46 + GL_LIGHTING 0x0B50 + GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 + GL_LIGHT_MODEL_TWO_SIDE 0x0B52 + GL_LIGHT_MODEL_AMBIENT 0x0B53 + GL_SHADE_MODEL 0x0B54 + GL_COLOR_MATERIAL_FACE 0x0B55 + GL_COLOR_MATERIAL_PARAMETER 0x0B56 + GL_COLOR_MATERIAL 0x0B57 + GL_FOG 0x0B60 + GL_FOG_INDEX 0x0B61 + GL_FOG_DENSITY 0x0B62 + GL_FOG_START 0x0B63 + GL_FOG_END 0x0B64 + GL_FOG_MODE 0x0B65 + GL_FOG_COLOR 0x0B66 + GL_DEPTH_RANGE 0x0B70 + GL_DEPTH_TEST 0x0B71 + GL_DEPTH_WRITEMASK 0x0B72 + GL_DEPTH_CLEAR_VALUE 0x0B73 + GL_DEPTH_FUNC 0x0B74 + GL_ACCUM_CLEAR_VALUE 0x0B80 + GL_STENCIL_TEST 0x0B90 + GL_STENCIL_CLEAR_VALUE 0x0B91 + GL_STENCIL_FUNC 0x0B92 + GL_STENCIL_VALUE_MASK 0x0B93 + GL_STENCIL_FAIL 0x0B94 + GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 + GL_STENCIL_PASS_DEPTH_PASS 0x0B96 + GL_STENCIL_REF 0x0B97 + GL_STENCIL_WRITEMASK 0x0B98 + GL_MATRIX_MODE 0x0BA0 + GL_NORMALIZE 0x0BA1 + GL_VIEWPORT 0x0BA2 + GL_MODELVIEW_STACK_DEPTH 0x0BA3 + GL_PROJECTION_STACK_DEPTH 0x0BA4 + GL_TEXTURE_STACK_DEPTH 0x0BA5 + GL_MODELVIEW_MATRIX 0x0BA6 + GL_PROJECTION_MATRIX 0x0BA7 + GL_TEXTURE_MATRIX 0x0BA8 + GL_ATTRIB_STACK_DEPTH 0x0BB0 + GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 + GL_ALPHA_TEST 0x0BC0 + GL_ALPHA_TEST_FUNC 0x0BC1 + GL_ALPHA_TEST_REF 0x0BC2 + GL_DITHER 0x0BD0 + GL_BLEND_DST 0x0BE0 + GL_BLEND_SRC 0x0BE1 + GL_BLEND 0x0BE2 + GL_LOGIC_OP_MODE 0x0BF0 + GL_INDEX_LOGIC_OP 0x0BF1 + GL_COLOR_LOGIC_OP 0x0BF2 + GL_AUX_BUFFERS 0x0C00 + GL_DRAW_BUFFER 0x0C01 + GL_READ_BUFFER 0x0C02 + GL_SCISSOR_BOX 0x0C10 + GL_SCISSOR_TEST 0x0C11 + GL_INDEX_CLEAR_VALUE 0x0C20 + GL_INDEX_WRITEMASK 0x0C21 + GL_COLOR_CLEAR_VALUE 0x0C22 + GL_COLOR_WRITEMASK 0x0C23 + GL_INDEX_MODE 0x0C30 + GL_RGBA_MODE 0x0C31 + GL_DOUBLEBUFFER 0x0C32 + GL_STEREO 0x0C33 + GL_RENDER_MODE 0x0C40 + GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 + GL_POINT_SMOOTH_HINT 0x0C51 + GL_LINE_SMOOTH_HINT 0x0C52 + GL_POLYGON_SMOOTH_HINT 0x0C53 + GL_FOG_HINT 0x0C54 + GL_TEXTURE_GEN_S 0x0C60 + GL_TEXTURE_GEN_T 0x0C61 + GL_TEXTURE_GEN_R 0x0C62 + GL_TEXTURE_GEN_Q 0x0C63 + GL_PIXEL_MAP_I_TO_I 0x0C70 + GL_PIXEL_MAP_S_TO_S 0x0C71 + GL_PIXEL_MAP_I_TO_R 0x0C72 + GL_PIXEL_MAP_I_TO_G 0x0C73 + GL_PIXEL_MAP_I_TO_B 0x0C74 + GL_PIXEL_MAP_I_TO_A 0x0C75 + GL_PIXEL_MAP_R_TO_R 0x0C76 + GL_PIXEL_MAP_G_TO_G 0x0C77 + GL_PIXEL_MAP_B_TO_B 0x0C78 + GL_PIXEL_MAP_A_TO_A 0x0C79 + GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 + GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 + GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 + GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 + GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 + GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 + GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 + GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 + GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 + GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 + GL_UNPACK_SWAP_BYTES 0x0CF0 + GL_UNPACK_LSB_FIRST 0x0CF1 + GL_UNPACK_ROW_LENGTH 0x0CF2 + GL_UNPACK_SKIP_ROWS 0x0CF3 + GL_UNPACK_SKIP_PIXELS 0x0CF4 + GL_UNPACK_ALIGNMENT 0x0CF5 + GL_PACK_SWAP_BYTES 0x0D00 + GL_PACK_LSB_FIRST 0x0D01 + GL_PACK_ROW_LENGTH 0x0D02 + GL_PACK_SKIP_ROWS 0x0D03 + GL_PACK_SKIP_PIXELS 0x0D04 + GL_PACK_ALIGNMENT 0x0D05 + GL_MAP_COLOR 0x0D10 + GL_MAP_STENCIL 0x0D11 + GL_INDEX_SHIFT 0x0D12 + GL_INDEX_OFFSET 0x0D13 + GL_RED_SCALE 0x0D14 + GL_RED_BIAS 0x0D15 + GL_ZOOM_X 0x0D16 + GL_ZOOM_Y 0x0D17 + GL_GREEN_SCALE 0x0D18 + GL_GREEN_BIAS 0x0D19 + GL_BLUE_SCALE 0x0D1A + GL_BLUE_BIAS 0x0D1B + GL_ALPHA_SCALE 0x0D1C + GL_ALPHA_BIAS 0x0D1D + GL_DEPTH_SCALE 0x0D1E + GL_DEPTH_BIAS 0x0D1F + GL_MAX_EVAL_ORDER 0x0D30 + GL_MAX_LIGHTS 0x0D31 + GL_MAX_CLIP_PLANES 0x0D32 + GL_MAX_TEXTURE_SIZE 0x0D33 + GL_MAX_PIXEL_MAP_TABLE 0x0D34 + GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 + GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 + GL_MAX_NAME_STACK_DEPTH 0x0D37 + GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 + GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 + GL_MAX_VIEWPORT_DIMS 0x0D3A + GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B + GL_SUBPIXEL_BITS 0x0D50 + GL_INDEX_BITS 0x0D51 + GL_RED_BITS 0x0D52 + GL_GREEN_BITS 0x0D53 + GL_BLUE_BITS 0x0D54 + GL_ALPHA_BITS 0x0D55 + GL_DEPTH_BITS 0x0D56 + GL_STENCIL_BITS 0x0D57 + GL_ACCUM_RED_BITS 0x0D58 + GL_ACCUM_GREEN_BITS 0x0D59 + GL_ACCUM_BLUE_BITS 0x0D5A + GL_ACCUM_ALPHA_BITS 0x0D5B + GL_NAME_STACK_DEPTH 0x0D70 + GL_AUTO_NORMAL 0x0D80 + GL_MAP1_COLOR_4 0x0D90 + GL_MAP1_INDEX 0x0D91 + GL_MAP1_NORMAL 0x0D92 + GL_MAP1_TEXTURE_COORD_1 0x0D93 + GL_MAP1_TEXTURE_COORD_2 0x0D94 + GL_MAP1_TEXTURE_COORD_3 0x0D95 + GL_MAP1_TEXTURE_COORD_4 0x0D96 + GL_MAP1_VERTEX_3 0x0D97 + GL_MAP1_VERTEX_4 0x0D98 + GL_MAP2_COLOR_4 0x0DB0 + GL_MAP2_INDEX 0x0DB1 + GL_MAP2_NORMAL 0x0DB2 + GL_MAP2_TEXTURE_COORD_1 0x0DB3 + GL_MAP2_TEXTURE_COORD_2 0x0DB4 + GL_MAP2_TEXTURE_COORD_3 0x0DB5 + GL_MAP2_TEXTURE_COORD_4 0x0DB6 + GL_MAP2_VERTEX_3 0x0DB7 + GL_MAP2_VERTEX_4 0x0DB8 + GL_MAP1_GRID_DOMAIN 0x0DD0 + GL_MAP1_GRID_SEGMENTS 0x0DD1 + GL_MAP2_GRID_DOMAIN 0x0DD2 + GL_MAP2_GRID_SEGMENTS 0x0DD3 + GL_TEXTURE_1D 0x0DE0 + GL_TEXTURE_2D 0x0DE1 + GL_FEEDBACK_BUFFER_POINTER 0x0DF0 + GL_FEEDBACK_BUFFER_SIZE 0x0DF1 + GL_FEEDBACK_BUFFER_TYPE 0x0DF2 + GL_SELECTION_BUFFER_POINTER 0x0DF3 + GL_SELECTION_BUFFER_SIZE 0x0DF4 + GL_TEXTURE_WIDTH 0x1000 + GL_TEXTURE_HEIGHT 0x1001 + GL_TEXTURE_INTERNAL_FORMAT 0x1003 + GL_TEXTURE_BORDER_COLOR 0x1004 + GL_TEXTURE_BORDER 0x1005 + GL_DONT_CARE 0x1100 + GL_FASTEST 0x1101 + GL_NICEST 0x1102 + GL_LIGHT0 0x4000 + GL_LIGHT1 0x4001 + GL_LIGHT2 0x4002 + GL_LIGHT3 0x4003 + GL_LIGHT4 0x4004 + GL_LIGHT5 0x4005 + GL_LIGHT6 0x4006 + GL_LIGHT7 0x4007 + GL_AMBIENT 0x1200 + GL_DIFFUSE 0x1201 + GL_SPECULAR 0x1202 + GL_POSITION 0x1203 + GL_SPOT_DIRECTION 0x1204 + GL_SPOT_EXPONENT 0x1205 + GL_SPOT_CUTOFF 0x1206 + GL_CONSTANT_ATTENUATION 0x1207 + GL_LINEAR_ATTENUATION 0x1208 + GL_QUADRATIC_ATTENUATION 0x1209 + GL_COMPILE 0x1300 + GL_COMPILE_AND_EXECUTE 0x1301 + GL_CLEAR 0x1500 + GL_AND 0x1501 + GL_AND_REVERSE 0x1502 + GL_COPY 0x1503 + GL_AND_INVERTED 0x1504 + GL_NOOP 0x1505 + GL_XOR 0x1506 + GL_OR 0x1507 + GL_NOR 0x1508 + GL_EQUIV 0x1509 + GL_INVERT 0x150A + GL_OR_REVERSE 0x150B + GL_COPY_INVERTED 0x150C + GL_OR_INVERTED 0x150D + GL_NAND 0x150E + GL_SET 0x150F + GL_EMISSION 0x1600 + GL_SHININESS 0x1601 + GL_AMBIENT_AND_DIFFUSE 0x1602 + GL_COLOR_INDEXES 0x1603 + GL_MODELVIEW 0x1700 + GL_PROJECTION 0x1701 + GL_TEXTURE 0x1702 + GL_COLOR 0x1800 + GL_DEPTH 0x1801 + GL_STENCIL 0x1802 + GL_COLOR_INDEX 0x1900 + GL_STENCIL_INDEX 0x1901 + GL_DEPTH_COMPONENT 0x1902 + GL_RED 0x1903 + GL_GREEN 0x1904 + GL_BLUE 0x1905 + GL_ALPHA 0x1906 + GL_RGB 0x1907 + GL_RGBA 0x1908 + GL_LUMINANCE 0x1909 + GL_LUMINANCE_ALPHA 0x190A + GL_BITMAP 0x1A00 + GL_POINT 0x1B00 + GL_LINE 0x1B01 + GL_FILL 0x1B02 + GL_RENDER 0x1C00 + GL_FEEDBACK 0x1C01 + GL_SELECT 0x1C02 + GL_FLAT 0x1D00 + GL_SMOOTH 0x1D01 + GL_KEEP 0x1E00 + GL_REPLACE 0x1E01 + GL_INCR 0x1E02 + GL_DECR 0x1E03 + GL_VENDOR 0x1F00 + GL_RENDERER 0x1F01 + GL_VERSION 0x1F02 + GL_EXTENSIONS 0x1F03 + GL_S 0x2000 + GL_T 0x2001 + GL_R 0x2002 + GL_Q 0x2003 + GL_MODULATE 0x2100 + GL_DECAL 0x2101 + GL_TEXTURE_ENV_MODE 0x2200 + GL_TEXTURE_ENV_COLOR 0x2201 + GL_TEXTURE_ENV 0x2300 + GL_EYE_LINEAR 0x2400 + GL_OBJECT_LINEAR 0x2401 + GL_SPHERE_MAP 0x2402 + GL_TEXTURE_GEN_MODE 0x2500 + GL_OBJECT_PLANE 0x2501 + GL_EYE_PLANE 0x2502 + GL_NEAREST 0x2600 + GL_LINEAR 0x2601 + GL_NEAREST_MIPMAP_NEAREST 0x2700 + GL_LINEAR_MIPMAP_NEAREST 0x2701 + GL_NEAREST_MIPMAP_LINEAR 0x2702 + GL_LINEAR_MIPMAP_LINEAR 0x2703 + GL_TEXTURE_MAG_FILTER 0x2800 + GL_TEXTURE_MIN_FILTER 0x2801 + GL_TEXTURE_WRAP_S 0x2802 + GL_TEXTURE_WRAP_T 0x2803 + GL_CLAMP 0x2900 + GL_REPEAT 0x2901 + GL_CLIENT_PIXEL_STORE_BIT 0x00000001 + GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 + GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff + GL_POLYGON_OFFSET_FACTOR 0x8038 + GL_POLYGON_OFFSET_UNITS 0x2A00 + GL_POLYGON_OFFSET_POINT 0x2A01 + GL_POLYGON_OFFSET_LINE 0x2A02 + GL_POLYGON_OFFSET_FILL 0x8037 + GL_ALPHA4 0x803B + GL_ALPHA8 0x803C + GL_ALPHA12 0x803D + GL_ALPHA16 0x803E + GL_LUMINANCE4 0x803F + GL_LUMINANCE8 0x8040 + GL_LUMINANCE12 0x8041 + GL_LUMINANCE16 0x8042 + GL_LUMINANCE4_ALPHA4 0x8043 + GL_LUMINANCE6_ALPHA2 0x8044 + GL_LUMINANCE8_ALPHA8 0x8045 + GL_LUMINANCE12_ALPHA4 0x8046 + GL_LUMINANCE12_ALPHA12 0x8047 + GL_LUMINANCE16_ALPHA16 0x8048 + GL_INTENSITY 0x8049 + GL_INTENSITY4 0x804A + GL_INTENSITY8 0x804B + GL_INTENSITY12 0x804C + GL_INTENSITY16 0x804D + GL_R3_G3_B2 0x2A10 + GL_RGB4 0x804F + GL_RGB5 0x8050 + GL_RGB8 0x8051 + GL_RGB10 0x8052 + GL_RGB12 0x8053 + GL_RGB16 0x8054 + GL_RGBA2 0x8055 + GL_RGBA4 0x8056 + GL_RGB5_A1 0x8057 + GL_RGBA8 0x8058 + GL_RGB10_A2 0x8059 + GL_RGBA12 0x805A + GL_RGBA16 0x805B + GL_TEXTURE_RED_SIZE 0x805C + GL_TEXTURE_GREEN_SIZE 0x805D + GL_TEXTURE_BLUE_SIZE 0x805E + GL_TEXTURE_ALPHA_SIZE 0x805F + GL_TEXTURE_LUMINANCE_SIZE 0x8060 + GL_TEXTURE_INTENSITY_SIZE 0x8061 + GL_PROXY_TEXTURE_1D 0x8063 + GL_PROXY_TEXTURE_2D 0x8064 + GL_TEXTURE_PRIORITY 0x8066 + GL_TEXTURE_RESIDENT 0x8067 + GL_TEXTURE_BINDING_1D 0x8068 + GL_TEXTURE_BINDING_2D 0x8069 + GL_VERTEX_ARRAY 0x8074 + GL_NORMAL_ARRAY 0x8075 + GL_COLOR_ARRAY 0x8076 + GL_INDEX_ARRAY 0x8077 + GL_TEXTURE_COORD_ARRAY 0x8078 + GL_EDGE_FLAG_ARRAY 0x8079 + GL_VERTEX_ARRAY_SIZE 0x807A + GL_VERTEX_ARRAY_TYPE 0x807B + GL_VERTEX_ARRAY_STRIDE 0x807C + GL_NORMAL_ARRAY_TYPE 0x807E + GL_NORMAL_ARRAY_STRIDE 0x807F + GL_COLOR_ARRAY_SIZE 0x8081 + GL_COLOR_ARRAY_TYPE 0x8082 + GL_COLOR_ARRAY_STRIDE 0x8083 + GL_INDEX_ARRAY_TYPE 0x8085 + GL_INDEX_ARRAY_STRIDE 0x8086 + GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 + GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 + GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A + GL_EDGE_FLAG_ARRAY_STRIDE 0x808C + GL_VERTEX_ARRAY_POINTER 0x808E + GL_NORMAL_ARRAY_POINTER 0x808F + GL_COLOR_ARRAY_POINTER 0x8090 + GL_INDEX_ARRAY_POINTER 0x8091 + GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 + GL_EDGE_FLAG_ARRAY_POINTER 0x8093 + GL_V2F 0x2A20 + GL_V3F 0x2A21 + GL_C4UB_V2F 0x2A22 + GL_C4UB_V3F 0x2A23 + GL_C3F_V3F 0x2A24 + GL_N3F_V3F 0x2A25 + GL_C4F_N3F_V3F 0x2A26 + GL_T2F_V3F 0x2A27 + GL_T4F_V4F 0x2A28 + GL_T2F_C4UB_V3F 0x2A29 + GL_T2F_C3F_V3F 0x2A2A + GL_T2F_N3F_V3F 0x2A2B + GL_T2F_C4F_N3F_V3F 0x2A2C + GL_T4F_C4F_N3F_V4F 0x2A2D + GL_LOGIC_OP GL_INDEX_LOGIC_OP + GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT + GL_COLOR_INDEX1_EXT 0x80E2 + GL_COLOR_INDEX2_EXT 0x80E3 + GL_COLOR_INDEX4_EXT 0x80E4 + GL_COLOR_INDEX8_EXT 0x80E5 + GL_COLOR_INDEX12_EXT 0x80E6 + GL_COLOR_INDEX16_EXT 0x80E7 + void glAccum (GLenum op, GLfloat value) + void glAlphaFunc (GLenum func, GLclampf ref) + GLboolean glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences) + GLboolean glAreTexturesResident (GLsizei n, ref GLuint textures, ref GLboolean residences) + GLboolean glAreTexturesResident (GLsizei n, GLuint [] textures, GLboolean [] residences) + GLboolean glAreTexturesResident (GLsizei n, IntPtr textures, IntPtr residences) + void glArrayElement (GLint i) + void glBegin (GLenum mode) + void glBindTexture (GLenum target, GLuint texture) + void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) + void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte [] bitmap) + void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const IntPtr bitmap) + void glBlendFunc (GLenum sfactor, GLenum dfactor) + void glCallList (GLuint list) + void glCallLists (GLsizei n, GLenum type, const GLvoid *lists) + void glCallLists (GLsizei n, GLenum type, System.Array lists) + void glClear (GLbitfield mask) + void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) + void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) + void glClearDepth (GLclampd depth) + void glClearIndex (GLfloat c) + void glClearStencil (GLint s) + void glClipPlane (GLenum plane, const GLdouble *equation) + void glClipPlane (GLenum plane, const GLdouble [] equation) + void glColor3b (GLbyte red, GLbyte green, GLbyte blue) + void glColor3bv (const GLbyte *v) + void glColor3bv (const GLbyte [] v) + void glColor3d (GLdouble red, GLdouble green, GLdouble blue) + void glColor3dv (const GLdouble *v) + void glColor3dv (const GLdouble [] v) + void glColor3 (const GLdouble [] v) = glColor3dv + void glColor3f (GLfloat red, GLfloat green, GLfloat blue) + void glColor3fv (const GLfloat *v) + void glColor3fv (const GLfloat [] v) + void glColor3 (const GLfloat [] v) = glColor3fv + void glColor3i (GLint red, GLint green, GLint blue) + void glColor3iv (const GLint *v) + void glColor3iv (const GLint [] v) + void glColor3 (const GLint [] v) = glColor3iv + void glColor3s (GLshort red, GLshort green, GLshort blue) + void glColor3sv (const GLshort *v) + void glColor3sv (const GLshort [] v) + void glColor3 (const GLshort [] v) = glColor3sv + void glColor3ub (GLubyte red, GLubyte green, GLubyte blue) + void glColor3ubv (const GLubyte *v) + void glColor3ubv (const GLubyte [] v) + void glColor3 (const GLubyte [] v) = glColor3ubv + void glColor3ui (GLuint red, GLuint green, GLuint blue) + void glColor3uiv (const GLuint *v) + void glColor3uiv (const GLuint [] v) + void glColor3 (const GLuint [] v) = glColor3uiv + void glColor3us (GLushort red, GLushort green, GLushort blue) + void glColor3usv (const GLushort *v) + void glColor3usv (const GLushort [] v) + void glColor3 (const GLushort [] v) = glColor3usv + void glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) + void glColor4bv (const GLbyte *v) + void glColor4bv (const GLbyte [] v) + void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) + void glColor4dv (const GLdouble *v) + void glColor4dv (const GLdouble [] v) + void glColor4 (const GLdouble [] v) = glColor4dv + void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) + void glColor4fv (const GLfloat *v) + void glColor4fv (const GLfloat [] v) + void glColor4 (const GLfloat [] v) = glColor4fv + void glColor4i (GLint red, GLint green, GLint blue, GLint alpha) + void glColor4iv (const GLint *v) + void glColor4iv (const GLint [] v) + void glColor4 (const GLint [] v) = glColor4iv + void glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha) + void glColor4sv (const GLshort *v) + void glColor4sv (const GLshort [] v) + void glColor4 (const GLshort [] v) = glColor4sv + void glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) + void glColor4ubv (const GLubyte *v) + void glColor4ubv (const GLubyte [] v) + void glColor4 (const GLubyte [] v) = glColor4ubv + void glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha) + void glColor4uiv (const GLuint *v) + void glColor4uiv (const GLuint [] v) + void glColor4 (const GLuint [] v) = glColor4uiv + void glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha) + void glColor4usv (const GLushort *v) + void glColor4usv (const GLushort [] v) + void glColor4 (const GLushort [] v) = glColor4usv + void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) + void glColorMaterial (GLenum face, GLenum mode) + void glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) + void glColorPointer (GLint size, GLenum type, GLsizei stride, System.Array pointer) + void glColorPointer (GLint size, GLenum type, GLsizei stride, IntPtr pointer) + void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) + void glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border) + void glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) + void glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) + void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) + void glCullFace (GLenum mode) + void glDeleteLists (GLuint list, GLsizei range) + void glDeleteTextures (GLsizei n, const GLuint *textures) + void glDeleteTextures (GLsizei n, GLuint [] textures) + void glDeleteTextures (GLsizei n, IntPtr textures) + void glDepthFunc (GLenum func) + void glDepthMask (GLboolean flag) + void glDepthRange (GLclampd zNear, GLclampd zFar) + void glDisable (GLenum cap) + void glDisableClientState (GLenum array) + void glDrawArrays (GLenum mode, GLint first, GLsizei count) + void glDrawBuffer (GLenum mode) + void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) + void glDrawElements (GLenum mode, GLsizei count, GLenum type, System.Array indices) + void glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) + void glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, System.Array pixels) + void glEdgeFlag (GLboolean flag) + void glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer) + void glEdgeFlagPointer (GLsizei stride, System.Array pointer) + void glEdgeFlagv (const GLboolean *flag) + void glEdgeFlagv (GLboolean [] flag) + void glEnable (GLenum cap) + void glEnableClientState (GLenum array) + void glEnd (void) + void glEndList (void) + void glEvalCoord1d (GLdouble u) + void glEvalCoord1dv (const GLdouble *u) + void glEvalCoord1f (GLfloat u) + void glEvalCoord1fv (const GLfloat *u) + void glEvalCoord2d (GLdouble u, GLdouble v) + void glEvalCoord2dv (const GLdouble *u) + void glEvalCoord2dv (const GLdouble [] u) + void glEvalCoord2 (const GLdouble [] u) = glEvalCoord2dv + void glEvalCoord2f (GLfloat u, GLfloat v) + void glEvalCoord2fv (const GLfloat *u) + void glEvalCoord2fv (const GLfloat [] u) + void glEvalCoord2 (const GLfloat [] u) = glEvalCoord2fv + void glEvalMesh1 (GLenum mode, GLint i1, GLint i2) + void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) + void glEvalPoint1 (GLint i) + void glEvalPoint2 (GLint i, GLint j) + void glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer) + void glFeedbackBuffer (GLsizei size, GLenum type, GLfloat [] buffer) + void glFeedbackBuffer (GLsizei size, GLenum type, IntPtr buffer) + void glFinish (void) + void glFlush (void) + void glFogf (GLenum pname, GLfloat param) + void glFogfv (GLenum pname, const GLfloat *params) + void glFogfv (GLenum pname, const GLfloat [] params) + void glFogfv (GLenum pname, const IntPtr params) + void glFogi (GLenum pname, GLint param) + void glFogiv (GLenum pname, const GLint *params) + void glFogiv (GLenum pname, const GLint [] params) + void glFogiv (GLenum pname, const IntPtr params) + void glFrontFace (GLenum mode) + void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) + GLuint glGenLists (GLsizei range) + void glGenTextures (GLsizei n, GLuint *textures) + void glGenTextures (GLsizei n, GLuint [] textures) + void glGetBooleanv (GLenum pname, GLboolean *params) + void glGetBooleanv (GLenum pname, GLboolean [] params) + void glGetClipPlane (GLenum plane, GLdouble *equation) + void glGetClipPlane (GLenum plane, GLdouble [] equation) + void glGetDoublev (GLenum pname, GLdouble *params) + void glGetDoublev (GLenum pname, GLdouble [] params) + GLenum glGetError (void) + void glGetFloatv (GLenum pname, GLfloat *params) + void glGetFloatv (GLenum pname, GLfloat [] params) + void glGetIntegerv (GLenum pname, GLint *params) + void glGetIntegerv (GLenum pname, GLint [] params) + void glGetLightfv (GLenum light, GLenum pname, GLfloat *params) + void glGetLightfv (GLenum light, GLenum pname, GLfloat [] params) + void glGetLightiv (GLenum light, GLenum pname, GLint *params) + void glGetLightiv (GLenum light, GLenum pname, GLint [] params) + void glGetMapdv (GLenum target, GLenum query, GLdouble *v) + void glGetMapdv (GLenum target, GLenum query, GLdouble [] v) + void glGetMapfv (GLenum target, GLenum query, GLfloat *v) + void glGetMapfv (GLenum target, GLenum query, GLfloat [] v) + void glGetMapiv (GLenum target, GLenum query, GLint *v) + void glGetMapiv (GLenum target, GLenum query, GLint [] v) + void glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params) + void glGetMaterialfv (GLenum face, GLenum pname, GLfloat [] params) + void glGetMaterialiv (GLenum face, GLenum pname, GLint *params) + void glGetMaterialiv (GLenum face, GLenum pname, GLint [] params) + void glGetPixelMapfv (GLenum map, GLfloat *values) + void glGetPixelMapfv (GLenum map, GLfloat [] values) + void glGetPixelMapuiv (GLenum map, GLuint *values) + void glGetPixelMapuiv (GLenum map, GLuint [] values) + void glGetPixelMapusv (GLenum map, GLushort *values) + void glGetPixelMapusv (GLenum map, GLushort [] values) + void glGetPointerv (GLenum pname, GLvoid** params) + void glGetPointerv (GLenum pname, out IntPtr params) + void glGetPolygonStipple (GLubyte *mask) + void glGetPolygonStipple (GLubyte [] mask) + string glGetString (GLenum name) + void glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params) + void glGetTexEnvfv (GLenum target, GLenum pname, GLfloat [] params) + void glGetTexEnviv (GLenum target, GLenum pname, GLint *params) + void glGetTexEnviv (GLenum target, GLenum pname, GLint [] params) + void glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params) + void glGetTexGendv (GLenum coord, GLenum pname, GLdouble [] params) + void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params) + void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat [] params) + void glGetTexGeniv (GLenum coord, GLenum pname, GLint *params) + void glGetTexGeniv (GLenum coord, GLenum pname, GLint [] params) + void glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) + void glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, System.Array pixels) + void glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params) + void glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat [] params) + void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) + void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint [] params) + void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params) + void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat [] params) + void glGetTexParameteriv (GLenum target, GLenum pname, GLint *params) + void glGetTexParameteriv (GLenum target, GLenum pname, GLint [] params) + void glHint (GLenum target, GLenum mode) + void glIndexMask (GLuint mask) + void glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer) + void glIndexPointer (GLenum type, GLsizei stride, System.Array pointer) + void glIndexPointer (GLenum type, GLsizei stride, IntPtr pointer) + void glIndexd (GLdouble c) + void glIndexdv (const GLdouble *c) + void glIndexf (GLfloat c) + void glIndexfv (const GLfloat *c) + void glIndexi (GLint c) + void glIndexiv (const GLint *c) + void glIndexs (GLshort c) + void glIndexsv (const GLshort *c) + void glIndexub (GLubyte c) + void glIndexubv (const GLubyte *c) + void glInitNames (void) + void glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer) + void glInterleavedArrays (GLenum format, GLsizei stride, IntPtr pointer) + void glInterleavedArrays (GLenum format, GLsizei stride, System.Array pointer) + GLboolean glIsEnabled (GLenum cap) + GLboolean glIsList (GLuint list) + GLboolean glIsTexture (GLuint texture) + void glLightModelf (GLenum pname, GLfloat param) + void glLightModelfv (GLenum pname, const GLfloat *params) + void glLightModelfv (GLenum pname, const GLfloat [] params) + void glLightModel (GLenum pname, const GLfloat [] params) = glLightModelfv + void glLightModeli (GLenum pname, GLint param) + void glLightModeliv (GLenum pname, const GLint *params) + void glLightModeliv (GLenum pname, const GLint [] params) + void glLightModel (GLenum pname, const GLint [] params) = glLightModel + void glLightf (GLenum light, GLenum pname, GLfloat param) + void glLightfv (GLenum light, GLenum pname, const GLfloat *params) + void glLightfv (GLenum light, GLenum pname, const GLfloat [] params) + void glLight (GLenum light, GLenum pname, const GLfloat [] params) = glLightfv + void glLighti (GLenum light, GLenum pname, GLint param) + void glLightiv (GLenum light, GLenum pname, const GLint *params) + void glLightiv (GLenum light, GLenum pname, const GLint [] params) + void glLight (GLenum light, GLenum pname, const GLint [] params) = glLightiv + void glLineStipple (GLint factor, GLushort pattern) + void glLineWidth (GLfloat width) + void glListBase (GLuint base) + void glLoadIdentity (void) + void glLoadMatrixd (const GLdouble *m) + void glLoadMatrixd (const GLdouble [] m) + void glLoadMatrix (const GLdouble [] m) = glLoadMatrix + void glLoadMatrixf (const GLfloat *m) + void glLoadMatrixf (const GLfloat [] m) + void glLoadMatrix (const GLfloat [] m) = glLoadMatrix + void glLoadName (GLuint name) + void glLogicOp (GLenum opcode) + void glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) + void glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) + void glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) + void glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) + void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2) + void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2) + void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) + void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) + void glMaterialf (GLenum face, GLenum pname, GLfloat param) + void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params) + void glMaterialfv (GLenum face, GLenum pname, const GLfloat [] params) + void glMaterial (GLenum face, GLenum pname, const GLfloat [] params) = glMaterialfv + void glMateriali (GLenum face, GLenum pname, GLint param) + void glMaterialiv (GLenum face, GLenum pname, const GLint *params) + void glMaterialiv (GLenum face, GLenum pname, const GLint [] params) + void glMaterial (GLenum face, GLenum pname, const GLint [] params) = glMaterialiv + void glMatrixMode (GLenum mode) + void glMultMatrixd (const GLdouble *m) + void glMultMatrixd (const GLdouble [] m) + void glMultMatrix (const GLdouble [] m) = glMultMatrixd + void glMultMatrixf (const GLfloat *m) + void glMultMatrixf (const GLfloat [] m) + void glMultMatrix (const GLfloat [] m) = glMultMatrixf + void glNewList (GLuint list, GLenum mode) + void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz) + void glNormal3bv (const GLbyte *v) + void glNormal3bv (const GLbyte [] v) + void glNormal3 (const GLbyte [] v) = glNormal3bv + void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz) + void glNormal3dv (const GLdouble *v) + void glNormal3dv (const GLdouble [] v) + void glNormal3 (const GLdouble [] v) = glNormal3dv + void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz) + void glNormal3fv (const GLfloat *v) + void glNormal3fv (const GLfloat [] v) + void glNormal3 (const GLfloat [] v) = glNormal3fv + void glNormal3i (GLint nx, GLint ny, GLint nz) + void glNormal3iv (const GLint *v) + void glNormal3iv (const GLint [] v) + void glNormal3 (const GLint [] v) = glNormal3iv + void glNormal3s (GLshort nx, GLshort ny, GLshort nz) + void glNormal3sv (const GLshort *v) + void glNormal3sv (const GLshort [] v) + void glNormal3 (const GLshort [] v) = glNormal3sv + void glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer) + void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) + void glPassThrough (GLfloat token) + void glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values) + void glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat [] values) + void glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values) + void glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint [] values) + void glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values) + void glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort [] values) + void glPixelStoref (GLenum pname, GLfloat param) + void glPixelStorei (GLenum pname, GLint param) + void glPixelTransferf (GLenum pname, GLfloat param) + void glPixelTransferi (GLenum pname, GLint param) + void glPixelZoom (GLfloat xfactor, GLfloat yfactor) + void glPointSize (GLfloat size) + void glPolygonMode (GLenum face, GLenum mode) + void glPolygonOffset (GLfloat factor, GLfloat units) + void glPolygonStipple (const GLubyte *mask) + void glPolygonStipple (const GLubyte [] mask) + void glPopAttrib (void) + void glPopClientAttrib (void) + void glPopMatrix (void) + void glPopName (void) + void glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities) + void glPrioritizeTextures (GLsizei n, const GLuint [] textures, const GLclampf [] priorities) + void glPushAttrib (GLbitfield mask) + void glPushClientAttrib (GLbitfield mask) + void glPushMatrix (void) + void glPushName (GLuint name) + void glRasterPos2d (GLdouble x, GLdouble y) + void glRasterPos2dv (const GLdouble *v) + void glRasterPos2f (GLfloat x, GLfloat y) + void glRasterPos2fv (const GLfloat *v) + void glRasterPos2i (GLint x, GLint y) + void glRasterPos2iv (const GLint *v) + void glRasterPos2s (GLshort x, GLshort y) + void glRasterPos2sv (const GLshort *v) + void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z) + void glRasterPos3dv (const GLdouble *v) + void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z) + void glRasterPos3fv (const GLfloat *v) + void glRasterPos3i (GLint x, GLint y, GLint z) + void glRasterPos3iv (const GLint *v) + void glRasterPos3s (GLshort x, GLshort y, GLshort z) + void glRasterPos3sv (const GLshort *v) + void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w) + void glRasterPos4dv (const GLdouble *v) + void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glRasterPos4fv (const GLfloat *v) + void glRasterPos4i (GLint x, GLint y, GLint z, GLint w) + void glRasterPos4iv (const GLint *v) + void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w) + void glRasterPos4sv (const GLshort *v) + void glReadBuffer (GLenum mode) + void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) + void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, System.Array pixels) + void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, IntPtr pixels) + void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) + void glRectdv (const GLdouble *v1, const GLdouble *v2) + void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) + void glRectfv (const GLfloat *v1, const GLfloat *v2) + void glRecti (GLint x1, GLint y1, GLint x2, GLint y2) + void glRectiv (const GLint *v1, const GLint *v2) + void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2) + void glRectsv (const GLshort *v1, const GLshort *v2) + GLint glRenderMode (GLenum mode) + void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z) + void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z) + void glScaled (GLdouble x, GLdouble y, GLdouble z) + void glScalef (GLfloat x, GLfloat y, GLfloat z) + void glScissor (GLint x, GLint y, GLsizei width, GLsizei height) + void glSelectBuffer (GLsizei size, GLuint *buffer) + void glSelectBuffer (GLsizei size, GLuint [] buffer) + void glShadeModel (GLenum mode) + void glStencilFunc (GLenum func, GLint ref, GLuint mask) + void glStencilMask (GLuint mask) + void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass) + void glTexCoord1d (GLdouble s) + void glTexCoord1dv (const GLdouble *v) + void glTexCoord1f (GLfloat s) + void glTexCoord1fv (const GLfloat *v) + void glTexCoord1i (GLint s) + void glTexCoord1iv (const GLint *v) + void glTexCoord1s (GLshort s) + void glTexCoord1sv (const GLshort *v) + void glTexCoord2d (GLdouble s, GLdouble t) + void glTexCoord2dv (const GLdouble *v) + void glTexCoord2f (GLfloat s, GLfloat t) + void glTexCoord2fv (const GLfloat *v) + void glTexCoord2i (GLint s, GLint t) + void glTexCoord2iv (const GLint *v) + void glTexCoord2s (GLshort s, GLshort t) + void glTexCoord2sv (const GLshort *v) + void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r) + void glTexCoord3dv (const GLdouble *v) + void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r) + void glTexCoord3fv (const GLfloat *v) + void glTexCoord3i (GLint s, GLint t, GLint r) + void glTexCoord3iv (const GLint *v) + void glTexCoord3s (GLshort s, GLshort t, GLshort r) + void glTexCoord3sv (const GLshort *v) + void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q) + void glTexCoord4dv (const GLdouble *v) + void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q) + void glTexCoord4fv (const GLfloat *v) + void glTexCoord4i (GLint s, GLint t, GLint r, GLint q) + void glTexCoord4iv (const GLint *v) + void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q) + void glTexCoord4sv (const GLshort *v) + void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) + void glTexEnvf (GLenum target, GLenum pname, GLfloat param) + void glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params) + void glTexEnvfv (GLenum target, GLenum pname, const GLfloat [] params) + void glTexEnv (GLenum target, GLenum pname, const GLfloat [] params) = glTexEnvfv + void glTexEnvi (GLenum target, GLenum pname, GLint param) + void glTexEnviv (GLenum target, GLenum pname, const GLint *params) + void glTexEnviv (GLenum target, GLenum pname, const GLint [] params) + void glTexEnv (GLenum target, GLenum pname, const GLint [] params) = glTexEnviv + void glTexGend (GLenum coord, GLenum pname, GLdouble param) + void glTexGendv (GLenum coord, GLenum pname, const GLdouble *params) + void glTexGendv (GLenum coord, GLenum pname, const GLdouble [] params) + void glTexGen (GLenum coord, GLenum pname, const GLdouble [] params) = glTexGendv + void glTexGenf (GLenum coord, GLenum pname, GLfloat param) + void glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params) + void glTexGenfv (GLenum coord, GLenum pname, const GLfloat [] params) + void glTexGen (GLenum coord, GLenum pname, const GLfloat [] params) = glTexGenfv + void glTexGeni (GLenum coord, GLenum pname, GLint param) + void glTexGeniv (GLenum coord, GLenum pname, const GLint *params) + void glTexGeniv (GLenum coord, GLenum pname, const GLint [] params) + void glTexGen (GLenum coord, GLenum pname, const GLint [] params) = glTexGeniv + void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) + void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, System.Array pixels) + void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, IntPtr pixels) + void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) + void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, System.Array pixels) + void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, IntPtr pixels) + void glTexParameterf (GLenum target, GLenum pname, GLfloat param) + void glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params) + void glTexParameterfv (GLenum target, GLenum pname, const GLfloat [] params) + void glTexParameter (GLenum target, GLenum pname, const GLfloat [] params) = glTexParameterfv + void glTexParameteri (GLenum target, GLenum pname, GLint param) + void glTexParameteriv (GLenum target, GLenum pname, const GLint *params) + void glTexParameteriv (GLenum target, GLenum pname, const GLint [] params) + void glTexParameter (GLenum target, GLenum pname, const GLint [] params) = glTexParameteriv + void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) + void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, System.Array pixels) + void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, IntPtr pixels) + void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) + void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, System.Array pixels) + void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, IntPtr pixels) + void glTranslated (GLdouble x, GLdouble y, GLdouble z) + void glTranslatef (GLfloat x, GLfloat y, GLfloat z) + void glVertex2d (GLdouble x, GLdouble y) + void glVertex2dv (const GLdouble *v) + void glVertex2f (GLfloat x, GLfloat y) + void glVertex2fv (const GLfloat *v) + void glVertex2i (GLint x, GLint y) + void glVertex2iv (const GLint *v) + void glVertex2s (GLshort x, GLshort y) + void glVertex2sv (const GLshort *v) + void glVertex3d (GLdouble x, GLdouble y, GLdouble z) + void glVertex3dv (const GLdouble *v) + void glVertex3f (GLfloat x, GLfloat y, GLfloat z) + void glVertex3fv (const GLfloat *v) + void glVertex3i (GLint x, GLint y, GLint z) + void glVertex3iv (const GLint *v) + void glVertex3s (GLshort x, GLshort y, GLshort z) + void glVertex3sv (const GLshort *v) + void glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w) + void glVertex4dv (const GLdouble *v) + void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glVertex4fv (const GLfloat *v) + void glVertex4i (GLint x, GLint y, GLint z, GLint w) + void glVertex4iv (const GLint *v) + void glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w) + void glVertex4sv (const GLshort *v) + void glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) + void glVertexPointer (GLint size, GLenum type, GLsizei stride, System.Array pointer) + void glVertexPointer (GLint size, GLenum type, GLsizei stride, IntPtr pointer) + void glViewport (GLint x, GLint y, GLsizei width, GLsizei height) + diff --git a/glcore/GL_VERSION_1_2 b/glcore/GL_VERSION_1_2 new file mode 100644 index 0000000..ef2b2fb --- /dev/null +++ b/glcore/GL_VERSION_1_2 @@ -0,0 +1,46 @@ +GL_VERSION_1_2 + GL_UNSIGNED_BYTE_3_3_2 0x8032 + GL_UNSIGNED_SHORT_4_4_4_4 0x8033 + GL_UNSIGNED_SHORT_5_5_5_1 0x8034 + GL_UNSIGNED_INT_8_8_8_8 0x8035 + GL_UNSIGNED_INT_10_10_10_2 0x8036 + GL_RESCALE_NORMAL 0x803A + GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 + GL_UNSIGNED_SHORT_5_6_5 0x8363 + GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 + GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 + GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 + GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 + GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 + GL_BGR 0x80E0 + GL_BGRA 0x80E1 + GL_MAX_ELEMENTS_VERTICES 0x80E8 + GL_MAX_ELEMENTS_INDICES 0x80E9 + GL_CLAMP_TO_EDGE 0x812F + GL_TEXTURE_MIN_LOD 0x813A + GL_TEXTURE_MAX_LOD 0x813B + GL_TEXTURE_BASE_LEVEL 0x813C + GL_TEXTURE_MAX_LEVEL 0x813D + GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 + GL_SINGLE_COLOR 0x81F9 + GL_SEPARATE_SPECULAR_COLOR 0x81FA + GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 + GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 + GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 + GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 + GL_ALIASED_POINT_SIZE_RANGE 0x846D + GL_ALIASED_LINE_WIDTH_RANGE 0x846E + GL_PACK_SKIP_IMAGES 0x806B + GL_PACK_IMAGE_HEIGHT 0x806C + GL_UNPACK_SKIP_IMAGES 0x806D + GL_UNPACK_IMAGE_HEIGHT 0x806E + GL_TEXTURE_3D 0x806F + GL_PROXY_TEXTURE_3D 0x8070 + GL_TEXTURE_DEPTH 0x8071 + GL_TEXTURE_WRAP_R 0x8072 + GL_MAX_3D_TEXTURE_SIZE 0x8073 + GL_TEXTURE_BINDING_3D 0x806A + void glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) + void glTexImage3D (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) + void glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) + void glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) diff --git a/glcore/GL_VERSION_1_3 b/glcore/GL_VERSION_1_3 new file mode 100644 index 0000000..d4d167c --- /dev/null +++ b/glcore/GL_VERSION_1_3 @@ -0,0 +1,144 @@ +GL_VERSION_1_3 + GL_TEXTURE0 0x84C0 + GL_TEXTURE1 0x84C1 + GL_TEXTURE2 0x84C2 + GL_TEXTURE3 0x84C3 + GL_TEXTURE4 0x84C4 + GL_TEXTURE5 0x84C5 + GL_TEXTURE6 0x84C6 + GL_TEXTURE7 0x84C7 + GL_TEXTURE8 0x84C8 + GL_TEXTURE9 0x84C9 + GL_TEXTURE10 0x84CA + GL_TEXTURE11 0x84CB + GL_TEXTURE12 0x84CC + GL_TEXTURE13 0x84CD + GL_TEXTURE14 0x84CE + GL_TEXTURE15 0x84CF + GL_TEXTURE16 0x84D0 + GL_TEXTURE17 0x84D1 + GL_TEXTURE18 0x84D2 + GL_TEXTURE19 0x84D3 + GL_TEXTURE20 0x84D4 + GL_TEXTURE21 0x84D5 + GL_TEXTURE22 0x84D6 + GL_TEXTURE23 0x84D7 + GL_TEXTURE24 0x84D8 + GL_TEXTURE25 0x84D9 + GL_TEXTURE26 0x84DA + GL_TEXTURE27 0x84DB + GL_TEXTURE28 0x84DC + GL_TEXTURE29 0x84DD + GL_TEXTURE30 0x84DE + GL_TEXTURE31 0x84DF + GL_ACTIVE_TEXTURE 0x84E0 + GL_CLIENT_ACTIVE_TEXTURE 0x84E1 + GL_MAX_TEXTURE_UNITS 0x84E2 + GL_NORMAL_MAP 0x8511 + GL_REFLECTION_MAP 0x8512 + GL_TEXTURE_CUBE_MAP 0x8513 + GL_TEXTURE_BINDING_CUBE_MAP 0x8514 + GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 + GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 + GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 + GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 + GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 + GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A + GL_PROXY_TEXTURE_CUBE_MAP 0x851B + GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C + GL_COMPRESSED_ALPHA 0x84E9 + GL_COMPRESSED_LUMINANCE 0x84EA + GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB + GL_COMPRESSED_INTENSITY 0x84EC + GL_COMPRESSED_RGB 0x84ED + GL_COMPRESSED_RGBA 0x84EE + GL_TEXTURE_COMPRESSION_HINT 0x84EF + GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 + GL_TEXTURE_COMPRESSED 0x86A1 + GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 + GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 + GL_MULTISAMPLE 0x809D + GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E + GL_SAMPLE_ALPHA_TO_ONE 0x809F + GL_SAMPLE_COVERAGE 0x80A0 + GL_SAMPLE_BUFFERS 0x80A8 + GL_SAMPLES 0x80A9 + GL_SAMPLE_COVERAGE_VALUE 0x80AA + GL_SAMPLE_COVERAGE_INVERT 0x80AB + GL_MULTISAMPLE_BIT 0x20000000 + GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 + GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 + GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 + GL_TRANSPOSE_COLOR_MATRIX 0x84E6 + GL_COMBINE 0x8570 + GL_COMBINE_RGB 0x8571 + GL_COMBINE_ALPHA 0x8572 + GL_SOURCE0_RGB 0x8580 + GL_SOURCE1_RGB 0x8581 + GL_SOURCE2_RGB 0x8582 + GL_SOURCE0_ALPHA 0x8588 + GL_SOURCE1_ALPHA 0x8589 + GL_SOURCE2_ALPHA 0x858A + GL_OPERAND0_RGB 0x8590 + GL_OPERAND1_RGB 0x8591 + GL_OPERAND2_RGB 0x8592 + GL_OPERAND0_ALPHA 0x8598 + GL_OPERAND1_ALPHA 0x8599 + GL_OPERAND2_ALPHA 0x859A + GL_RGB_SCALE 0x8573 + GL_ADD_SIGNED 0x8574 + GL_INTERPOLATE 0x8575 + GL_SUBTRACT 0x84E7 + GL_CONSTANT 0x8576 + GL_PRIMARY_COLOR 0x8577 + GL_PREVIOUS 0x8578 + GL_DOT3_RGB 0x86AE + GL_DOT3_RGBA 0x86AF + GL_CLAMP_TO_BORDER 0x812D + + void glActiveTexture (GLenum texture) + void glClientActiveTexture (GLenum texture) + void glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) + void glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) + void glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) + void glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) + void glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) + void glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) + void glGetCompressedTexImage (GLenum target, GLint lod, GLvoid *img) + void glLoadTransposeMatrixd (const GLdouble m[16]) + void glLoadTransposeMatrixf (const GLfloat m[16]) + void glMultTransposeMatrixd (const GLdouble m[16]) + void glMultTransposeMatrixf (const GLfloat m[16]) + void glMultiTexCoord1d (GLenum target, GLdouble s) + void glMultiTexCoord1dv (GLenum target, const GLdouble *v) + void glMultiTexCoord1f (GLenum target, GLfloat s) + void glMultiTexCoord1fv (GLenum target, const GLfloat *v) + void glMultiTexCoord1i (GLenum target, GLint s) + void glMultiTexCoord1iv (GLenum target, const GLint *v) + void glMultiTexCoord1s (GLenum target, GLshort s) + void glMultiTexCoord1sv (GLenum target, const GLshort *v) + void glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t) + void glMultiTexCoord2dv (GLenum target, const GLdouble *v) + void glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t) + void glMultiTexCoord2fv (GLenum target, const GLfloat *v) + void glMultiTexCoord2i (GLenum target, GLint s, GLint t) + void glMultiTexCoord2iv (GLenum target, const GLint *v) + void glMultiTexCoord2s (GLenum target, GLshort s, GLshort t) + void glMultiTexCoord2sv (GLenum target, const GLshort *v) + void glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r) + void glMultiTexCoord3dv (GLenum target, const GLdouble *v) + void glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r) + void glMultiTexCoord3fv (GLenum target, const GLfloat *v) + void glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r) + void glMultiTexCoord3iv (GLenum target, const GLint *v) + void glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r) + void glMultiTexCoord3sv (GLenum target, const GLshort *v) + void glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) + void glMultiTexCoord4dv (GLenum target, const GLdouble *v) + void glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) + void glMultiTexCoord4fv (GLenum target, const GLfloat *v) + void glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q) + void glMultiTexCoord4iv (GLenum target, const GLint *v) + void glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) + void glMultiTexCoord4sv (GLenum target, const GLshort *v) + void glSampleCoverage (GLclampf value, GLboolean invert) diff --git a/glcore/GL_VERSION_1_4 b/glcore/GL_VERSION_1_4 new file mode 100644 index 0000000..a9fbeb5 --- /dev/null +++ b/glcore/GL_VERSION_1_4 @@ -0,0 +1,85 @@ +GL_VERSION_1_4 + GL_GENERATE_MIPMAP 0x8191 + GL_GENERATE_MIPMAP_HINT 0x8192 + GL_DEPTH_COMPONENT16 0x81A5 + GL_DEPTH_COMPONENT24 0x81A6 + GL_DEPTH_COMPONENT32 0x81A7 + GL_TEXTURE_DEPTH_SIZE 0x884A + GL_DEPTH_TEXTURE_MODE 0x884B + GL_TEXTURE_COMPARE_MODE 0x884C + GL_TEXTURE_COMPARE_FUNC 0x884D + GL_COMPARE_R_TO_TEXTURE 0x884E + GL_FOG_COORDINATE_SOURCE 0x8450 + GL_FOG_COORDINATE 0x8451 + GL_FRAGMENT_DEPTH 0x8452 + GL_CURRENT_FOG_COORDINATE 0x8453 + GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 + GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 + GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 + GL_FOG_COORDINATE_ARRAY 0x8457 + GL_POINT_SIZE_MIN 0x8126 + GL_POINT_SIZE_MAX 0x8127 + GL_POINT_FADE_THRESHOLD_SIZE 0x8128 + GL_POINT_DISTANCE_ATTENUATION 0x8129 + GL_COLOR_SUM 0x8458 + GL_CURRENT_SECONDARY_COLOR 0x8459 + GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A + GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B + GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C + GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D + GL_SECONDARY_COLOR_ARRAY 0x845E + GL_BLEND_DST_RGB 0x80C8 + GL_BLEND_SRC_RGB 0x80C9 + GL_BLEND_DST_ALPHA 0x80CA + GL_BLEND_SRC_ALPHA 0x80CB + GL_INCR_WRAP 0x8507 + GL_DECR_WRAP 0x8508 + GL_TEXTURE_FILTER_CONTROL 0x8500 + GL_TEXTURE_LOD_BIAS 0x8501 + GL_MAX_TEXTURE_LOD_BIAS 0x84FD + GL_MIRRORED_REPEAT 0x8370 + void glBlendEquation (GLenum mode) + void glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) + void glFogCoordf (GLfloat coord) + void glFogCoordfv (const GLfloat *coord) + void glFogCoordd (GLdouble coord) + void glFogCoorddv (const GLdouble *coord) + void glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer) + void glMultiDrawArrays (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) + void glMultiDrawElements (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount) + void glPointParameterf (GLenum pname, GLfloat param) + void glPointParameterfv (GLenum pname, GLfloat *params) + void glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue) + void glSecondaryColor3bv (const GLbyte *v) + void glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue) + void glSecondaryColor3dv (const GLdouble *v) + void glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue) + void glSecondaryColor3fv (const GLfloat *v) + void glSecondaryColor3i (GLint red, GLint green, GLint blue) + void glSecondaryColor3iv (const GLint *v) + void glSecondaryColor3s (GLshort red, GLshort green, GLshort blue) + void glSecondaryColor3sv (const GLshort *v) + void glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue) + void glSecondaryColor3ubv (const GLubyte *v) + void glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue) + void glSecondaryColor3uiv (const GLuint *v) + void glSecondaryColor3us (GLushort red, GLushort green, GLushort blue) + void glSecondaryColor3usv (const GLushort *v) + void glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) + void glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) + void glWindowPos2d (GLdouble x, GLdouble y) + void glWindowPos2f (GLfloat x, GLfloat y) + void glWindowPos2i (GLint x, GLint y) + void glWindowPos2s (GLshort x, GLshort y) + void glWindowPos2dv (const GLdouble *p) + void glWindowPos2fv (const GLfloat *p) + void glWindowPos2iv (const GLint *p) + void glWindowPos2sv (const GLshort *p) + void glWindowPos3d (GLdouble x, GLdouble y, GLdouble z) + void glWindowPos3f (GLfloat x, GLfloat y, GLfloat z) + void glWindowPos3i (GLint x, GLint y, GLint z) + void glWindowPos3s (GLshort x, GLshort y, GLshort z) + void glWindowPos3dv (const GLdouble *p) + void glWindowPos3fv (const GLfloat *p) + void glWindowPos3iv (const GLint *p) + void glWindowPos3sv (const GLshort *p) diff --git a/glcore/GL_VERSION_1_5 b/glcore/GL_VERSION_1_5 new file mode 100644 index 0000000..1acd9c7 --- /dev/null +++ b/glcore/GL_VERSION_1_5 @@ -0,0 +1,73 @@ +GL_VERSION_1_5 +http://www.opengl.org/documentation/specs/version1.5/glspec15.pdf + GL_BUFFER_SIZE 0x8764 + GL_BUFFER_USAGE 0x8765 + GL_QUERY_COUNTER_BITS 0x8864 + GL_CURRENT_QUERY 0x8865 + GL_QUERY_RESULT 0x8866 + GL_QUERY_RESULT_AVAILABLE 0x8867 + GL_ARRAY_BUFFER 0x8892 + GL_ELEMENT_ARRAY_BUFFER 0x8893 + GL_ARRAY_BUFFER_BINDING 0x8894 + GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 + GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 + GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 + GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 + GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 + GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A + GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B + GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C + GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D + GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E + GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F + GL_READ_ONLY 0x88B8 + GL_WRITE_ONLY 0x88B9 + GL_READ_WRITE 0x88BA + GL_BUFFER_ACCESS 0x88BB + GL_BUFFER_MAPPED 0x88BC + GL_BUFFER_MAP_POINTER 0x88BD + GL_STREAM_DRAW 0x88E0 + GL_STREAM_READ 0x88E1 + GL_STREAM_COPY 0x88E2 + GL_STATIC_DRAW 0x88E4 + GL_STATIC_READ 0x88E5 + GL_STATIC_COPY 0x88E6 + GL_DYNAMIC_DRAW 0x88E8 + GL_DYNAMIC_READ 0x88E9 + GL_DYNAMIC_COPY 0x88EA + GL_SAMPLES_PASSED 0x8914 + GL_FOG_COORD_SOURCE GL_FOG_COORDINATE_SOURCE + GL_FOG_COORD GL_FOG_COORDINATE + GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE + GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE + GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE + GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER + GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY + GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING + GL_SRC0_RGB GL_SOURCE0_RGB + GL_SRC1_RGB GL_SOURCE1_RGB + GL_SRC2_RGB GL_SOURCE2_RGB + GL_SRC0_ALPHA GL_SOURCE0_ALPHA + GL_SRC1_ALPHA GL_SOURCE1_ALPHA + GL_SRC2_ALPHA GL_SOURCE2_ALPHA + void glGenQueries (GLsizei n, GLuint* ids) + void glDeleteQueries (GLsizei n, const GLuint* ids) + GLboolean glIsQuery (GLuint id) + void glBeginQuery (GLenum target, GLuint id) + void glEndQuery (GLenum target) + void glGetQueryiv (GLenum target, GLenum pname, GLint params) + void glGetQueryObjectiv (GLuint id, GLenum pname, GLint* params) + void glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint* params) + void glBindBuffer (GLenum target, GLuint buffer) + void glDeleteBuffers (GLsizei n, const GLuint* buffers) + void glGenBuffers (GLsizei n, GLuint* buffers) + GLboolean glIsBuffer (GLuint buffer) + void glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) + void glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data) + void glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid* data) + GLvoid* glMapBuffer (GLenum target, GLenum access) + GLboolean glUnmapBuffer (GLenum target) + void glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params) + void glGetBufferPointerv (GLenum target, GLenum pname, GLvoid** params) + typedef ptrdiff_t GLsizeiptr + typedef ptrdiff_t GLintptr diff --git a/glext/GLU_EXT_nurbs_tessellator b/glext/GLU_EXT_nurbs_tessellator new file mode 100644 index 0000000..03cdaa5 --- /dev/null +++ b/glext/GLU_EXT_nurbs_tessellator @@ -0,0 +1,2 @@ +GLU_EXT_nurbs_tessellator +http://oss.sgi.com/projects/ogl-sample/registry/EXT/nurbs_tessellator.txt diff --git a/glext/GLU_EXT_object_space_tess b/glext/GLU_EXT_object_space_tess new file mode 100644 index 0000000..19135ac --- /dev/null +++ b/glext/GLU_EXT_object_space_tess @@ -0,0 +1,2 @@ +GLU_EXT_object_space_tess +http://oss.sgi.com/projects/ogl-sample/registry/EXT/object_space_tess.txt diff --git a/glext/GLU_SGI_filter4_parameters b/glext/GLU_SGI_filter4_parameters new file mode 100644 index 0000000..ee22417 --- /dev/null +++ b/glext/GLU_SGI_filter4_parameters @@ -0,0 +1,3 @@ +GLU_SGI_filter4_parameters +http://oss.sgi.com/projects/ogl-sample/registry/SGI/filter4_parameters.txt + GLint gluTexFilterFuncSGI (GLenum target, GLenum filtertype, const GLfloat* parms, GLint n, GLfloat *weights) diff --git a/glext/GLX_3DFX_multisample b/glext/GLX_3DFX_multisample new file mode 100644 index 0000000..7edfaf2 --- /dev/null +++ b/glext/GLX_3DFX_multisample @@ -0,0 +1,4 @@ +GLX_3DFX_multisample +http://oss.sgi.com/projects/ogl-sample/registry/3DFX/3dfx_multisample.txt + GLX_SAMPLE_BUFFERS_3DFX 0x8050 + GLX_SAMPLES_3DFX 0x8051 diff --git a/glext/GLX_ARB_get_proc_address b/glext/GLX_ARB_get_proc_address new file mode 100644 index 0000000..7427d94 --- /dev/null +++ b/glext/GLX_ARB_get_proc_address @@ -0,0 +1,3 @@ +GLX_ARB_get_proc_address +http://oss.sgi.com/projects/ogl-sample/registry/ARB/get_proc_address.txt + extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void); diff --git a/glext/GLX_ARB_multisample b/glext/GLX_ARB_multisample new file mode 100644 index 0000000..aed4f43 --- /dev/null +++ b/glext/GLX_ARB_multisample @@ -0,0 +1,4 @@ +GLX_ARB_multisample +http://oss.sgi.com/projects/ogl-sample/registry/ARB/multisample.txt + GLX_SAMPLE_BUFFERS_ARB 100000 + GLX_SAMPLES_ARB 100001 diff --git a/glext/GLX_ATI_pixel_format_float b/glext/GLX_ATI_pixel_format_float new file mode 100644 index 0000000..7b64a72 --- /dev/null +++ b/glext/GLX_ATI_pixel_format_float @@ -0,0 +1,2 @@ +GLX_ATI_pixel_format_float + GLX_RGBA_FLOAT_ATI_BIT 0x00000100 diff --git a/glext/GLX_ATI_render_texture b/glext/GLX_ATI_render_texture new file mode 100644 index 0000000..f6a6619 --- /dev/null +++ b/glext/GLX_ATI_render_texture @@ -0,0 +1,39 @@ +GLX_ATI_render_texture + GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800 + GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801 + GLX_TEXTURE_FORMAT_ATI 0x9802 + GLX_TEXTURE_TARGET_ATI 0x9803 + GLX_MIPMAP_TEXTURE_ATI 0x9804 + GLX_TEXTURE_RGB_ATI 0x9805 + GLX_TEXTURE_RGBA_ATI 0x9806 + GLX_NO_TEXTURE_ATI 0x9807 + GLX_TEXTURE_CUBE_MAP_ATI 0x9808 + GLX_TEXTURE_1D_ATI 0x9809 + GLX_TEXTURE_2D_ATI 0x980A + GLX_MIPMAP_LEVEL_ATI 0x980B + GLX_CUBE_MAP_FACE_ATI 0x980C + GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D + GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E + GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F + GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810 + GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811 + GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812 + GLX_FRONT_LEFT_ATI 0x9813 + GLX_FRONT_RIGHT_ATI 0x9814 + GLX_BACK_LEFT_ATI 0x9815 + GLX_BACK_RIGHT_ATI 0x9816 + GLX_AUX0_ATI 0x9817 + GLX_AUX1_ATI 0x9818 + GLX_AUX2_ATI 0x9819 + GLX_AUX3_ATI 0x981A + GLX_AUX4_ATI 0x981B + GLX_AUX5_ATI 0x981C + GLX_AUX6_ATI 0x981D + GLX_AUX7_ATI 0x981E + GLX_AUX8_ATI 0x981F + GLX_AUX9_ATI 0x9820 + GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821 + GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822 + void glXBindTexImageATI (Display *dpy, GLXPbuffer pbuf, int buffer) + void glXReleaseTexImageATI (Display *dpy, GLXPbuffer pbuf, int buffer) + void glXDrawableAttribATI (Display *dpy, GLXDrawable draw, const int *attrib_list) diff --git a/glext/GLX_EXT_import_context b/glext/GLX_EXT_import_context new file mode 100644 index 0000000..fdaceaa --- /dev/null +++ b/glext/GLX_EXT_import_context @@ -0,0 +1,10 @@ +GLX_EXT_import_context +http://oss.sgi.com/projects/ogl-sample/registry/EXT/import_context.txt + GLX_SHARE_CONTEXT_EXT 0x800A + GLX_VISUAL_ID_EXT 0x800B + GLX_SCREEN_EXT 0x800C + void glXFreeContextEXT (Display* dpy, GLXContext context) + GLXContextID glXGetContextIDEXT (const GLXContext context) + GLXContext glXImportContextEXT (Display* dpy, GLXContextID contextID) + int glXQueryContextInfoEXT (Display* dpy, GLXContext context, int attribute,int *value) + typedef XID GLXContextID diff --git a/glext/GLX_EXT_scene_marker b/glext/GLX_EXT_scene_marker new file mode 100644 index 0000000..5391c5c --- /dev/null +++ b/glext/GLX_EXT_scene_marker @@ -0,0 +1,2 @@ +GLX_EXT_scene_marker +http://oss.sgi.com/projects/ogl-sample/registry/EXT/scene_marker.txt diff --git a/glext/GLX_EXT_visual_info b/glext/GLX_EXT_visual_info new file mode 100644 index 0000000..e464cb3 --- /dev/null +++ b/glext/GLX_EXT_visual_info @@ -0,0 +1,18 @@ +GLX_EXT_visual_info +http://oss.sgi.com/projects/ogl-sample/registry/EXT/visual_info.txt + GLX_X_VISUAL_TYPE_EXT 0x22 + GLX_TRANSPARENT_TYPE_EXT 0x23 + GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 + GLX_TRANSPARENT_RED_VALUE_EXT 0x25 + GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 + GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 + GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 + GLX_NONE_EXT 0x8000 + GLX_TRUE_COLOR_EXT 0x8002 + GLX_DIRECT_COLOR_EXT 0x8003 + GLX_PSEUDO_COLOR_EXT 0x8004 + GLX_STATIC_COLOR_EXT 0x8005 + GLX_GRAY_SCALE_EXT 0x8006 + GLX_STATIC_GRAY_EXT 0x8007 + GLX_TRANSPARENT_RGB_EXT 0x8008 + GLX_TRANSPARENT_INDEX_EXT 0x8009 diff --git a/glext/GLX_EXT_visual_rating b/glext/GLX_EXT_visual_rating new file mode 100644 index 0000000..438a0cb --- /dev/null +++ b/glext/GLX_EXT_visual_rating @@ -0,0 +1,5 @@ +GLX_EXT_visual_rating +http://oss.sgi.com/projects/ogl-sample/registry/EXT/visual_rating.txt + GLX_VISUAL_CAVEAT_EXT 0x20 + GLX_SLOW_VISUAL_EXT 0x8001 + GLX_NON_CONFORMANT_VISUAL_EXT 0x800D diff --git a/glext/GLX_MESA_copy_sub_buffer b/glext/GLX_MESA_copy_sub_buffer new file mode 100644 index 0000000..650bc07 --- /dev/null +++ b/glext/GLX_MESA_copy_sub_buffer @@ -0,0 +1,3 @@ +GLX_MESA_copy_sub_buffer +http://oss.sgi.com/projects/ogl-sample/registry/MESA/copy_sub_buffer.txt + void glXCopySubBufferMESA (Display* dpy, GLXDrawable drawable, int x, int y, int width, int height) diff --git a/glext/GLX_MESA_pixmap_colormap b/glext/GLX_MESA_pixmap_colormap new file mode 100644 index 0000000..26350f4 --- /dev/null +++ b/glext/GLX_MESA_pixmap_colormap @@ -0,0 +1,3 @@ +GLX_MESA_pixmap_colormap +http://oss.sgi.com/projects/ogl-sample/registry/MESA/pixmap_colormap.txt + GLXPixmap glXCreateGLXPixmapMESA (Display* dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap) diff --git a/glext/GLX_MESA_release_buffers b/glext/GLX_MESA_release_buffers new file mode 100644 index 0000000..3701300 --- /dev/null +++ b/glext/GLX_MESA_release_buffers @@ -0,0 +1,3 @@ +GLX_MESA_release_buffers +http://oss.sgi.com/projects/ogl-sample/registry/MESA/release_buffers.txt + Bool glXReleaseBuffersMESA (Display* dpy, GLXDrawable d) diff --git a/glext/GLX_MESA_set_3dfx_mode b/glext/GLX_MESA_set_3dfx_mode new file mode 100644 index 0000000..d69220d --- /dev/null +++ b/glext/GLX_MESA_set_3dfx_mode @@ -0,0 +1,5 @@ +GLX_MESA_set_3dfx_mode +http://oss.sgi.com/projects/ogl-sample/registry/MESA/set_3dfx_mode.txt + GLX_3DFX_WINDOW_MODE_MESA 0x1 + GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 + GLboolean glXSet3DfxModeMESA (GLint mode) diff --git a/glext/GLX_NV_float_buffer b/glext/GLX_NV_float_buffer new file mode 100644 index 0000000..f217e65 --- /dev/null +++ b/glext/GLX_NV_float_buffer @@ -0,0 +1,3 @@ +GLX_NV_float_buffer +http://cvs1.nvidia.com/inc/GL/glxtokens.h + GLX_FLOAT_COMPONENTS_NV 0x20B0 diff --git a/glext/GLX_NV_vertex_array_range b/glext/GLX_NV_vertex_array_range new file mode 100644 index 0000000..04a857a --- /dev/null +++ b/glext/GLX_NV_vertex_array_range @@ -0,0 +1,4 @@ +GLX_NV_vertex_array_range +http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt + void * glXAllocateMemoryNV (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority) + void glXFreeMemoryNV (void *pointer) diff --git a/glext/GLX_OML_swap_method b/glext/GLX_OML_swap_method new file mode 100644 index 0000000..f021090 --- /dev/null +++ b/glext/GLX_OML_swap_method @@ -0,0 +1,6 @@ +GLX_OML_swap_method +http://oss.sgi.com/projects/ogl-sample/registry/OML/glx_swap_method.txt + GLX_SWAP_METHOD_OML 0x8060 + GLX_SWAP_EXCHANGE_OML 0x8061 + GLX_SWAP_COPY_OML 0x8062 + GLX_SWAP_UNDEFINED_OML 0x8063 diff --git a/glext/GLX_OML_sync_control b/glext/GLX_OML_sync_control new file mode 100644 index 0000000..d06e5d8 --- /dev/null +++ b/glext/GLX_OML_sync_control @@ -0,0 +1,7 @@ +GLX_OML_sync_control +http://oss.sgi.com/projects/ogl-sample/registry/OML/glx_sync_control.txt + Bool glXGetMscRateOML (Display* dpy, GLXDrawable drawable, int32_t* numerator, int32_t* denominator) + Bool glXGetSyncValuesOML (Display* dpy, GLXDrawable drawable, int64_t* ust, int64_t* msc, int64_t* sbc) + int64_t glXSwapBuffersMscOML (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder) + Bool glXWaitForMscOML (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t* ust, int64_t* msc, int64_t* sbc) + Bool glXWaitForSbcOML (Display* dpy, GLXDrawable drawable, int64_t target_sbc, int64_t* ust, int64_t* msc, int64_t* sbc) diff --git a/glext/GLX_SGIS_blended_overlay b/glext/GLX_SGIS_blended_overlay new file mode 100644 index 0000000..8171fa0 --- /dev/null +++ b/glext/GLX_SGIS_blended_overlay @@ -0,0 +1,3 @@ +GLX_SGIS_blended_overlay +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/blended_overlay.txt + GLX_BLENDED_RGBA_SGIS 0x8025 diff --git a/glext/GLX_SGIS_color_range b/glext/GLX_SGIS_color_range new file mode 100644 index 0000000..d7281a2 --- /dev/null +++ b/glext/GLX_SGIS_color_range @@ -0,0 +1,11 @@ +GLX_SGIS_color_range +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/color_range.txt + GLX_MIN_GREEN_SGIS 0 + GLX_MIN_RED_SGIS 0 + GLX_EXTENDED_RANGE_SGIS 0 + GLX_MAX_ALPHA_SGIS 0 + GLX_MIN_BLUE_SGIS 0 + GLX_MAX_BLUE_SGIS 0 + GLX_MAX_GREEN_SGIS 0 + GLX_MIN_ALPHA_SGIS 0 + GLX_MAX_RED_SGIS 0 diff --git a/glext/GLX_SGIS_multisample b/glext/GLX_SGIS_multisample new file mode 100644 index 0000000..324c1ee --- /dev/null +++ b/glext/GLX_SGIS_multisample @@ -0,0 +1,4 @@ +GLX_SGIS_multisample +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/multisample.txt + GLX_SAMPLE_BUFFERS_SGIS 100000 + GLX_SAMPLES_SGIS 100001 diff --git a/glext/GLX_SGIS_shared_multisample b/glext/GLX_SGIS_shared_multisample new file mode 100644 index 0000000..6ab7a05 --- /dev/null +++ b/glext/GLX_SGIS_shared_multisample @@ -0,0 +1,3 @@ +GLX_SGIS_shared_multisample + GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 + GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 diff --git a/glext/GLX_SGIX_fbconfig b/glext/GLX_SGIX_fbconfig new file mode 100644 index 0000000..c9c4b4b --- /dev/null +++ b/glext/GLX_SGIX_fbconfig @@ -0,0 +1,21 @@ +GLX_SGIX_fbconfig +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/fbconfig.txt + GLX_WINDOW_BIT_SGIX 0x00000001 + GLX_RGBA_BIT_SGIX 0x00000001 + GLX_PIXMAP_BIT_SGIX 0x00000002 + GLX_COLOR_INDEX_BIT_SGIX 0x00000002 + GLX_SCREEN_EXT 0x800C + GLX_DRAWABLE_TYPE_SGIX 0x8010 + GLX_RENDER_TYPE_SGIX 0x8011 + GLX_X_RENDERABLE_SGIX 0x8012 + GLX_FBCONFIG_ID_SGIX 0x8013 + GLX_RGBA_TYPE_SGIX 0x8014 + GLX_COLOR_INDEX_TYPE_SGIX 0x8015 + GLXFBConfigSGIX* glXChooseFBConfigSGIX (Display *dpy, int screen, const int *attrib_list, int *nelements) + GLXContext glXCreateContextWithConfigSGIX (Display* dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct) + GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display* dpy, GLXFBConfig config, Pixmap pixmap) + int glXGetFBConfigAttribSGIX (Display* dpy, GLXFBConfigSGIX config, int attribute, int *value) + GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display* dpy, XVisualInfo *vis) + XVisualInfo* glXGetVisualFromFBConfigSGIX (Display *dpy, GLXFBConfig config) + typedef XID GLXFBConfigIDSGIX + typedef struct __GLXFBConfigRec *GLXFBConfigSGIX diff --git a/glext/GLX_SGIX_pbuffer b/glext/GLX_SGIX_pbuffer new file mode 100644 index 0000000..eb8228c --- /dev/null +++ b/glext/GLX_SGIX_pbuffer @@ -0,0 +1,34 @@ +GLX_SGIX_pbuffer +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/pbuffer.txt + GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 + GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 + GLX_PBUFFER_BIT_SGIX 0x00000004 + GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 + GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 + GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 + GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 + GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 + GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 + GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 + GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 + GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 + GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 + GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 + GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A + GLX_PRESERVED_CONTENTS_SGIX 0x801B + GLX_LARGEST_PBUFFER_SGIX 0x801C + GLX_WIDTH_SGIX 0x801D + GLX_HEIGHT_SGIX 0x801E + GLX_EVENT_MASK_SGIX 0x801F + GLX_DAMAGED_SGIX 0x8020 + GLX_SAVED_SGIX 0x8021 + GLX_WINDOW_SGIX 0x8022 + GLX_PBUFFER_SGIX 0x8023 + GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 + GLXPbuffer glXCreateGLXPbufferSGIX (Display* dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list) + void glXDestroyGLXPbufferSGIX (Display* dpy, GLXPbuffer pbuf) + void glXGetSelectedEventSGIX (Display* dpy, GLXDrawable drawable, unsigned long *mask) + void glXQueryGLXPbufferSGIX (Display* dpy, GLXPbuffer pbuf, int attribute, unsigned int *value) + void glXSelectEventSGIX (Display* dpy, GLXDrawable drawable, unsigned long mask) + typedef XID GLXPbufferSGIX + typedef struct { int type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; int event_type; int draw_type; unsigned int mask; int x, y; int width, height; int count; } GLXBufferClobberEventSGIX diff --git a/glext/GLX_SGIX_swap_barrier b/glext/GLX_SGIX_swap_barrier new file mode 100644 index 0000000..bf84ff8 --- /dev/null +++ b/glext/GLX_SGIX_swap_barrier @@ -0,0 +1,4 @@ +GLX_SGIX_swap_barrier +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_barrier.txt + void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier) + Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max) diff --git a/glext/GLX_SGIX_swap_group b/glext/GLX_SGIX_swap_group new file mode 100644 index 0000000..e083783 --- /dev/null +++ b/glext/GLX_SGIX_swap_group @@ -0,0 +1,3 @@ +GLX_SGIX_swap_group +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_group.txt + void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member) diff --git a/glext/GLX_SGIX_video_resize b/glext/GLX_SGIX_video_resize new file mode 100644 index 0000000..feee344 --- /dev/null +++ b/glext/GLX_SGIX_video_resize @@ -0,0 +1,9 @@ +GLX_SGIX_video_resize +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/video_resize.txt + GLX_SYNC_FRAME_SGIX 0x00000000 + GLX_SYNC_SWAP_SGIX 0x00000001 + int glXBindChannelToWindowSGIX (Display* display, int screen, int channel, Window window) + int glXChannelRectSGIX (Display* display, int screen, int channel, int x, int y, int w, int h) + int glXChannelRectSyncSGIX (Display* display, int screen, int channel, GLenum synctype) + int glXQueryChannelDeltasSGIX (Display* display, int screen, int channel, int *x, int *y, int *w, int *h) + int glXQueryChannelRectSGIX (Display* display, int screen, int channel, int *dx, int *dy, int *dw, int *dh) diff --git a/glext/GLX_SGIX_visual_select_group b/glext/GLX_SGIX_visual_select_group new file mode 100644 index 0000000..4b14cea --- /dev/null +++ b/glext/GLX_SGIX_visual_select_group @@ -0,0 +1,3 @@ +GLX_SGIX_visual_select_group +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/visual_select_group.txt + GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 diff --git a/glext/GLX_SGI_cushion b/glext/GLX_SGI_cushion new file mode 100644 index 0000000..79874bb --- /dev/null +++ b/glext/GLX_SGI_cushion @@ -0,0 +1,3 @@ +GLX_SGI_cushion +http://oss.sgi.com/projects/ogl-sample/registry/SGI/cushion.txt + void glXCushionSGI (Display* dpy, Window window, float cushion) diff --git a/glext/GLX_SGI_make_current_read b/glext/GLX_SGI_make_current_read new file mode 100644 index 0000000..221f396 --- /dev/null +++ b/glext/GLX_SGI_make_current_read @@ -0,0 +1,4 @@ +GLX_SGI_make_current_read +http://oss.sgi.com/projects/ogl-sample/registry/SGI/make_current_read.txt + GLXDrawable glXGetCurrentReadDrawableSGI (void) + Bool glXMakeCurrentReadSGI (Display* dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) diff --git a/glext/GLX_SGI_swap_control b/glext/GLX_SGI_swap_control new file mode 100644 index 0000000..0542fe8 --- /dev/null +++ b/glext/GLX_SGI_swap_control @@ -0,0 +1,3 @@ +GLX_SGI_swap_control +http://oss.sgi.com/projects/ogl-sample/registry/SGI/swap_control.txt + int glXSwapIntervalSGI (int interval) diff --git a/glext/GLX_SGI_video_sync b/glext/GLX_SGI_video_sync new file mode 100644 index 0000000..6867262 --- /dev/null +++ b/glext/GLX_SGI_video_sync @@ -0,0 +1,4 @@ +GLX_SGI_video_sync +http://oss.sgi.com/projects/ogl-sample/registry/SGI/video_sync.txt + int glXGetVideoSyncSGI (uint* count) + int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int* count) diff --git a/glext/GLX_SUN_get_transparent_index b/glext/GLX_SUN_get_transparent_index new file mode 100644 index 0000000..72da8ff --- /dev/null +++ b/glext/GLX_SUN_get_transparent_index @@ -0,0 +1,3 @@ +GLX_SUN_get_transparent_index +http://oss.sgi.com/projects/ogl-sample/registry/SUN/get_transparent_index.txt + Status glXGetTransparentIndexSUN (Display* dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex) diff --git a/glext/GLX_SUN_video_resize b/glext/GLX_SUN_video_resize new file mode 100644 index 0000000..cf4d8f4 --- /dev/null +++ b/glext/GLX_SUN_video_resize @@ -0,0 +1,6 @@ +GLX_SUN_video_resize +http://wwws.sun.com/software/graphics/opengl/extensions/glx_sun_video_resize.txt + GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD + GLX_VIDEO_RESIZE_SUN 0x8171 + int glXVideoResizeSUN (Display* display, GLXDrawable window, float factor) + int glXGetVideoResizeSUN (Display* display, GLXDrawable window, float* factor) diff --git a/glext/GL_3DFX_multisample b/glext/GL_3DFX_multisample new file mode 100644 index 0000000..e71f10c --- /dev/null +++ b/glext/GL_3DFX_multisample @@ -0,0 +1,8 @@ +GL_3DFX_multisample +http://oss.sgi.com/projects/ogl-sample/registry/3DFX/3dfx_multisample.txt + GLX_SAMPLE_BUFFERS_3DFX 0x8050 + GLX_SAMPLES_3DFX 0x8051 + GL_MULTISAMPLE_3DFX 0x86B2 + GL_SAMPLE_BUFFERS_3DFX 0x86B3 + GL_SAMPLES_3DFX 0x86B4 + GL_MULTISAMPLE_BIT_3DFX 0x20000000 diff --git a/glext/GL_3DFX_tbuffer b/glext/GL_3DFX_tbuffer new file mode 100644 index 0000000..65abd51 --- /dev/null +++ b/glext/GL_3DFX_tbuffer @@ -0,0 +1,3 @@ +GL_3DFX_tbuffer +http://oss.sgi.com/projects/ogl-sample/registry/3DFX/tbuffer.txt + void glTbufferMask3DFX (GLuint mask) diff --git a/glext/GL_3DFX_texture_compression_FXT1 b/glext/GL_3DFX_texture_compression_FXT1 new file mode 100644 index 0000000..2d240c6 --- /dev/null +++ b/glext/GL_3DFX_texture_compression_FXT1 @@ -0,0 +1,4 @@ +GL_3DFX_texture_compression_FXT1 +http://oss.sgi.com/projects/ogl-sample/registry/3DFX/texture_compression_FXT1.txt + GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 + GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 diff --git a/glext/GL_APPLE_client_storage b/glext/GL_APPLE_client_storage new file mode 100644 index 0000000..347aaca --- /dev/null +++ b/glext/GL_APPLE_client_storage @@ -0,0 +1,3 @@ +GL_APPLE_client_storage +http://oss.sgi.com/projects/ogl-sample/registry/APPLE/client_storage.txt + GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 diff --git a/glext/GL_APPLE_element_array b/glext/GL_APPLE_element_array new file mode 100644 index 0000000..69d76d9 --- /dev/null +++ b/glext/GL_APPLE_element_array @@ -0,0 +1,10 @@ +GL_APPLE_element_array +http://oss.sgi.com/projects/ogl-sample/registry/APPLE/element_array.txt + GL_ELEMENT_ARRAY_APPLE 0x8768 + GL_ELEMENT_ARRAY_TYPE_APPLE 0x8769 + GL_ELEMENT_ARRAY_POINTER_APPLE 0x876A + void glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count) + void glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count) + void glElementPointerAPPLE (GLenum type, const void* pointer) + void glMultiDrawElementArrayAPPLE (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount) + void glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei *count, GLsizei primcount) diff --git a/glext/GL_APPLE_fence b/glext/GL_APPLE_fence new file mode 100644 index 0000000..b778f8b --- /dev/null +++ b/glext/GL_APPLE_fence @@ -0,0 +1,12 @@ +GL_APPLE_fence +http://oss.sgi.com/projects/ogl-sample/registry/APPLE/fence.txt + GL_DRAW_PIXELS_APPLE 0x8A0A + GL_FENCE_APPLE 0x8A0B + void glDeleteFencesAPPLE (GLsizei n, const GLuint* fences) + void glFinishFenceAPPLE (GLuint fence) + void glFinishObjectAPPLE (GLenum object, GLint name) + void glGenFencesAPPLE (GLsizei n, GLuint* fences) + GLboolean glIsFenceAPPLE (GLuint fence) + void glSetFenceAPPLE (GLuint fence) + GLboolean glTestFenceAPPLE (GLuint fence) + GLboolean glTestObjectAPPLE (GLenum object, GLuint name) diff --git a/glext/GL_APPLE_float_pixels b/glext/GL_APPLE_float_pixels new file mode 100644 index 0000000..dc7327c --- /dev/null +++ b/glext/GL_APPLE_float_pixels @@ -0,0 +1,16 @@ +GL_APPLE_float_pixels +http://developer.apple.com/opengl/extensions/apple_float_pixels.html + GL_HALF_APPLE 0x140B + GL_COLOR_FLOAT_APPLE 0x8A0F + GL_RGBA_FLOAT32_APPLE 0x8814 + GL_RGB_FLOAT32_APPLE 0x8815 + GL_ALPHA_FLOAT32_APPLE 0x8816 + GL_INTENSITY_FLOAT32_APPLE 0x8817 + GL_LUMINANCE_FLOAT32_APPLE 0x8818 + GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 + GL_RGBA_FLOAT16_APPLE 0x881A + GL_RGB_FLOAT16_APPLE 0x881B + GL_ALPHA_FLOAT16_APPLE 0x881C + GL_INTENSITY_FLOAT16_APPLE 0x881D + GL_LUMINANCE_FLOAT16_APPLE 0x881E + GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F diff --git a/glext/GL_APPLE_specular_vector b/glext/GL_APPLE_specular_vector new file mode 100644 index 0000000..92ca033 --- /dev/null +++ b/glext/GL_APPLE_specular_vector @@ -0,0 +1,3 @@ +GL_APPLE_specular_vector +http://oss.sgi.com/projects/ogl-sample/registry/APPLE/specular_vector.txt + GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 diff --git a/glext/GL_APPLE_texture_range b/glext/GL_APPLE_texture_range new file mode 100644 index 0000000..341c36e --- /dev/null +++ b/glext/GL_APPLE_texture_range @@ -0,0 +1,11 @@ +GL_APPLE_texture_range +http://developer.apple.com/opengl/extensions/apple_texture_range.html + GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC + GL_STORAGE_PRIVATE_APPLE 0x85BD + GL_STORAGE_CACHED_APPLE 0x85BE + GL_STORAGE_SHARED_APPLE 0x85BF + GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 + GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 + void glTextureRangeAPPLE (GLenum target, GLsizei length, GLvoid *pointer) + void glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, GLvoid **params) + diff --git a/glext/GL_APPLE_transform_hint b/glext/GL_APPLE_transform_hint new file mode 100644 index 0000000..d1328bf --- /dev/null +++ b/glext/GL_APPLE_transform_hint @@ -0,0 +1,3 @@ +GL_APPLE_transform_hint +http://oss.sgi.com/projects/ogl-sample/registry/APPLE/transform_hint.txt + GL_TRANSFORM_HINT_APPLE 0x85B1 diff --git a/glext/GL_APPLE_vertex_array_object b/glext/GL_APPLE_vertex_array_object new file mode 100644 index 0000000..a700f48 --- /dev/null +++ b/glext/GL_APPLE_vertex_array_object @@ -0,0 +1,7 @@ +GL_APPLE_vertex_array_object +http://oss.sgi.com/projects/ogl-sample/registry/APPLE/vertex_array_object.txt + GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 + void glBindVertexArrayAPPLE (GLuint array) + void glDeleteVertexArraysAPPLE (GLsizei n, const GLuint* arrays) + void glGenVertexArraysAPPLE (GLsizei n, const GLuint* arrays) + GLboolean glIsVertexArrayAPPLE (GLuint array) diff --git a/glext/GL_APPLE_vertex_array_range b/glext/GL_APPLE_vertex_array_range new file mode 100644 index 0000000..79c0d82 --- /dev/null +++ b/glext/GL_APPLE_vertex_array_range @@ -0,0 +1,12 @@ +GL_APPLE_vertex_array_range +http://oss.sgi.com/projects/ogl-sample/registry/APPLE/vertex_array_range.txt + GL_VERTEX_ARRAY_RANGE_APPLE 0x851D + GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E + GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F + GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 0x8520 + GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 + GL_STORAGE_CACHED_APPLE 0x85BE + GL_STORAGE_SHARED_APPLE 0x85BF + void glFlushVertexArrayRangeAPPLE (GLsizei length, void* pointer) + void glVertexArrayParameteriAPPLE (GLenum pname, GLint param) + void glVertexArrayRangeAPPLE (GLsizei length, void* pointer) diff --git a/glext/GL_APPLE_ycbcr_422 b/glext/GL_APPLE_ycbcr_422 new file mode 100644 index 0000000..18fc8f7 --- /dev/null +++ b/glext/GL_APPLE_ycbcr_422 @@ -0,0 +1,5 @@ +GL_APPLE_ycbcr_422 +http://oss.sgi.com/projects/ogl-sample/registry/APPLE/ycbcr_422.txt + GL_YCBCR_422_APPLE 0x85B9 + GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA + GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB diff --git a/glext/GL_ARB_depth_texture b/glext/GL_ARB_depth_texture new file mode 100644 index 0000000..30291f2 --- /dev/null +++ b/glext/GL_ARB_depth_texture @@ -0,0 +1,7 @@ +GL_ARB_depth_texture +http://oss.sgi.com/projects/ogl-sample/registry/ARB/depth_texture.txt + GL_DEPTH_COMPONENT16_ARB 0x81A5 + GL_DEPTH_COMPONENT24_ARB 0x81A6 + GL_DEPTH_COMPONENT32_ARB 0x81A7 + GL_TEXTURE_DEPTH_SIZE_ARB 0x884A + GL_DEPTH_TEXTURE_MODE_ARB 0x884B diff --git a/glext/GL_ARB_fragment_program b/glext/GL_ARB_fragment_program new file mode 100644 index 0000000..3529876 --- /dev/null +++ b/glext/GL_ARB_fragment_program @@ -0,0 +1,17 @@ +GL_ARB_fragment_program +http://oss.sgi.com/projects/ogl-sample/registry/ARB/fragment_program.txt + GL_FRAGMENT_PROGRAM_ARB 0x8804 + GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 + GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 + GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 + GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 + GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 + GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A + GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B + GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C + GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D + GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E + GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F + GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 + GL_MAX_TEXTURE_COORDS_ARB 0x8871 + GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 diff --git a/glext/GL_ARB_fragment_program_shadow b/glext/GL_ARB_fragment_program_shadow new file mode 100644 index 0000000..67f02de --- /dev/null +++ b/glext/GL_ARB_fragment_program_shadow @@ -0,0 +1,2 @@ +GL_ARB_fragment_program_shadow +http://oss.sgi.com/projects/ogl-sample/registry/ARB/fragment_program_shadow.txt diff --git a/glext/GL_ARB_fragment_shader b/glext/GL_ARB_fragment_shader new file mode 100644 index 0000000..266e70a --- /dev/null +++ b/glext/GL_ARB_fragment_shader @@ -0,0 +1,4 @@ +GL_ARB_fragment_shader +http://oss.sgi.com/projects/ogl-sample/registry/ARB/fragment_shader.txt + GL_FRAGMENT_SHADER_ARB 0x8B30 + GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 diff --git a/glext/GL_ARB_imaging b/glext/GL_ARB_imaging new file mode 100644 index 0000000..66dd527 --- /dev/null +++ b/glext/GL_ARB_imaging @@ -0,0 +1,110 @@ +GL_ARB_imaging + GL_CONSTANT_COLOR 0x8001 + GL_ONE_MINUS_CONSTANT_COLOR 0x8002 + GL_CONSTANT_ALPHA 0x8003 + GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 + GL_BLEND_COLOR 0x8005 + GL_FUNC_ADD 0x8006 + GL_MIN 0x8007 + GL_MAX 0x8008 + GL_BLEND_EQUATION 0x8009 + GL_FUNC_SUBTRACT 0x800A + GL_FUNC_REVERSE_SUBTRACT 0x800B + GL_CONVOLUTION_1D 0x8010 + GL_CONVOLUTION_2D 0x8011 + GL_SEPARABLE_2D 0x8012 + GL_CONVOLUTION_BORDER_MODE 0x8013 + GL_CONVOLUTION_FILTER_SCALE 0x8014 + GL_CONVOLUTION_FILTER_BIAS 0x8015 + GL_REDUCE 0x8016 + GL_CONVOLUTION_FORMAT 0x8017 + GL_CONVOLUTION_WIDTH 0x8018 + GL_CONVOLUTION_HEIGHT 0x8019 + GL_MAX_CONVOLUTION_WIDTH 0x801A + GL_MAX_CONVOLUTION_HEIGHT 0x801B + GL_POST_CONVOLUTION_RED_SCALE 0x801C + GL_POST_CONVOLUTION_GREEN_SCALE 0x801D + GL_POST_CONVOLUTION_BLUE_SCALE 0x801E + GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F + GL_POST_CONVOLUTION_RED_BIAS 0x8020 + GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 + GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 + GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 + GL_HISTOGRAM 0x8024 + GL_PROXY_HISTOGRAM 0x8025 + GL_HISTOGRAM_WIDTH 0x8026 + GL_HISTOGRAM_FORMAT 0x8027 + GL_HISTOGRAM_RED_SIZE 0x8028 + GL_HISTOGRAM_GREEN_SIZE 0x8029 + GL_HISTOGRAM_BLUE_SIZE 0x802A + GL_HISTOGRAM_ALPHA_SIZE 0x802B + GL_HISTOGRAM_LUMINANCE_SIZE 0x802C + GL_HISTOGRAM_SINK 0x802D + GL_MINMAX 0x802E + GL_MINMAX_FORMAT 0x802F + GL_MINMAX_SINK 0x8030 + GL_TABLE_TOO_LARGE 0x8031 + GL_COLOR_MATRIX 0x80B1 + GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 + GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 + GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 + GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 + GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 + GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 + GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 + GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 + GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA + GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB + GL_COLOR_TABLE 0x80D0 + GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 + GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 + GL_PROXY_COLOR_TABLE 0x80D3 + GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 + GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 + GL_COLOR_TABLE_SCALE 0x80D6 + GL_COLOR_TABLE_BIAS 0x80D7 + GL_COLOR_TABLE_FORMAT 0x80D8 + GL_COLOR_TABLE_WIDTH 0x80D9 + GL_COLOR_TABLE_RED_SIZE 0x80DA + GL_COLOR_TABLE_GREEN_SIZE 0x80DB + GL_COLOR_TABLE_BLUE_SIZE 0x80DC + GL_COLOR_TABLE_ALPHA_SIZE 0x80DD + GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE + GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF + GL_IGNORE_BORDER 0x8150 + GL_CONSTANT_BORDER 0x8151 + GL_WRAP_BORDER 0x8152 + GL_REPLICATE_BORDER 0x8153 + GL_CONVOLUTION_BORDER_COLOR 0x8154 + void glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) + void glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) + void glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params) + void glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params) + void glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) + void glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) + void glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table) + void glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params) + void glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params) + void glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) + void glResetHistogram (GLenum target) + void glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) + void glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params) + void glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params) + void glMinmax (GLenum target, GLenum internalformat, GLboolean sink) + void glResetMinmax (GLenum target) + void glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params) + void glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params) + void glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) + void glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) + void glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params) + void glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params) + void glConvolutionParameteri (GLenum target, GLenum pname, GLint params) + void glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params) + void glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) + void glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) + void glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image) + void glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params) + void glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params) + void glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) + void glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) + void glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) diff --git a/glext/GL_ARB_matrix_palette b/glext/GL_ARB_matrix_palette new file mode 100644 index 0000000..58c6e94 --- /dev/null +++ b/glext/GL_ARB_matrix_palette @@ -0,0 +1,17 @@ +GL_ARB_matrix_palette +http://oss.sgi.com/projects/ogl-sample/registry/ARB/matrix_palette.txt + GL_MATRIX_PALETTE_ARB 0x8840 + GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 + GL_MAX_PALETTE_MATRICES_ARB 0x8842 + GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 + GL_MATRIX_INDEX_ARRAY_ARB 0x8844 + GL_CURRENT_MATRIX_INDEX_ARB 0x8845 + GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 + GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 + GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 + GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 + void glCurrentPaletteMatrixARB (GLint index) + void glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) + void glMatrixIndexubvARB (GLint size, GLubyte *indices) + void glMatrixIndexusvARB (GLint size, GLushort *indices) + void glMatrixIndexuivARB (GLint size, GLuint *indices) diff --git a/glext/GL_ARB_multisample b/glext/GL_ARB_multisample new file mode 100644 index 0000000..4a00f31 --- /dev/null +++ b/glext/GL_ARB_multisample @@ -0,0 +1,14 @@ +GL_ARB_multisample +http://oss.sgi.com/projects/ogl-sample/registry/ARB/multisample.txt + GL_MULTISAMPLE_ARB 0x809D + GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E + GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F + GL_SAMPLE_COVERAGE_ARB 0x80A0 + GL_SAMPLE_BUFFERS_ARB 0x80A8 + GL_SAMPLES_ARB 0x80A9 + GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA + GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB + GLX_SAMPLE_BUFFERS_ARB 100000 + GLX_SAMPLES_ARB 100001 + GL_MULTISAMPLE_BIT_ARB 0x20000000 + void glSampleCoverageARB (GLclampf value, GLboolean invert) diff --git a/glext/GL_ARB_multitexture b/glext/GL_ARB_multitexture new file mode 100644 index 0000000..9e9fd18 --- /dev/null +++ b/glext/GL_ARB_multitexture @@ -0,0 +1,71 @@ +GL_ARB_multitexture +http://oss.sgi.com/projects/ogl-sample/registry/ARB/multitexture.txt + GL_TEXTURE0_ARB 0x84C0 + GL_TEXTURE1_ARB 0x84C1 + GL_TEXTURE2_ARB 0x84C2 + GL_TEXTURE3_ARB 0x84C3 + GL_TEXTURE4_ARB 0x84C4 + GL_TEXTURE5_ARB 0x84C5 + GL_TEXTURE6_ARB 0x84C6 + GL_TEXTURE7_ARB 0x84C7 + GL_TEXTURE8_ARB 0x84C8 + GL_TEXTURE9_ARB 0x84C9 + GL_TEXTURE10_ARB 0x84CA + GL_TEXTURE11_ARB 0x84CB + GL_TEXTURE12_ARB 0x84CC + GL_TEXTURE13_ARB 0x84CD + GL_TEXTURE14_ARB 0x84CE + GL_TEXTURE15_ARB 0x84CF + GL_TEXTURE16_ARB 0x84D0 + GL_TEXTURE17_ARB 0x84D1 + GL_TEXTURE18_ARB 0x84D2 + GL_TEXTURE19_ARB 0x84D3 + GL_TEXTURE20_ARB 0x84D4 + GL_TEXTURE21_ARB 0x84D5 + GL_TEXTURE22_ARB 0x84D6 + GL_TEXTURE23_ARB 0x84D7 + GL_TEXTURE24_ARB 0x84D8 + GL_TEXTURE25_ARB 0x84D9 + GL_TEXTURE26_ARB 0x84DA + GL_TEXTURE27_ARB 0x84DB + GL_TEXTURE28_ARB 0x84DC + GL_TEXTURE29_ARB 0x84DD + GL_TEXTURE30_ARB 0x84DE + GL_TEXTURE31_ARB 0x84DF + GL_ACTIVE_TEXTURE_ARB 0x84E0 + GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 + GL_MAX_TEXTURE_UNITS_ARB 0x84E2 + void glActiveTextureARB (GLenum texture) + void glClientActiveTextureARB (GLenum texture) + void glMultiTexCoord1dARB (GLenum target, GLdouble s) + void glMultiTexCoord1dvARB (GLenum target, const GLdouble *v) + void glMultiTexCoord1fARB (GLenum target, GLfloat s) + void glMultiTexCoord1fvARB (GLenum target, const GLfloat *v) + void glMultiTexCoord1iARB (GLenum target, GLint s) + void glMultiTexCoord1ivARB (GLenum target, const GLint *v) + void glMultiTexCoord1sARB (GLenum target, GLshort s) + void glMultiTexCoord1svARB (GLenum target, const GLshort *v) + void glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t) + void glMultiTexCoord2dvARB (GLenum target, const GLdouble *v) + void glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t) + void glMultiTexCoord2fvARB (GLenum target, const GLfloat *v) + void glMultiTexCoord2iARB (GLenum target, GLint s, GLint t) + void glMultiTexCoord2ivARB (GLenum target, const GLint *v) + void glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t) + void glMultiTexCoord2svARB (GLenum target, const GLshort *v) + void glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r) + void glMultiTexCoord3dvARB (GLenum target, const GLdouble *v) + void glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r) + void glMultiTexCoord3fvARB (GLenum target, const GLfloat *v) + void glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r) + void glMultiTexCoord3ivARB (GLenum target, const GLint *v) + void glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r) + void glMultiTexCoord3svARB (GLenum target, const GLshort *v) + void glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) + void glMultiTexCoord4dvARB (GLenum target, const GLdouble *v) + void glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) + void glMultiTexCoord4fvARB (GLenum target, const GLfloat *v) + void glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q) + void glMultiTexCoord4ivARB (GLenum target, const GLint *v) + void glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) + void glMultiTexCoord4svARB (GLenum target, const GLshort *v) diff --git a/glext/GL_ARB_occlusion_query b/glext/GL_ARB_occlusion_query new file mode 100644 index 0000000..f72bdd2 --- /dev/null +++ b/glext/GL_ARB_occlusion_query @@ -0,0 +1,15 @@ +GL_ARB_occlusion_query +http://oss.sgi.com/projects/ogl-sample/registry/ARB/occlusion_query.txt + GL_QUERY_COUNTER_BITS_ARB 0x8864 + GL_CURRENT_QUERY_ARB 0x8865 + GL_QUERY_RESULT_ARB 0x8866 + GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 + GL_SAMPLES_PASSED_ARB 0x8914 + void glBeginQueryARB (GLenum target, GLuint id) + void glDeleteQueriesARB (GLsizei n, const GLuint* ids) + void glEndQueryARB (GLenum target) + void glGenQueriesARB (GLsizei n, GLuint* ids) + void glGetQueryObjectivARB (GLuint id, GLenum pname, GLint* params) + void glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint* params) + void glGetQueryivARB (GLenum target, GLenum pname, GLint* params) + GLboolean glIsQueryARB (GLuint id) diff --git a/glext/GL_ARB_point_parameters b/glext/GL_ARB_point_parameters new file mode 100644 index 0000000..086de4e --- /dev/null +++ b/glext/GL_ARB_point_parameters @@ -0,0 +1,8 @@ +GL_ARB_point_parameters +http://oss.sgi.com/projects/ogl-sample/registry/ARB/point_parameters.txt + GL_POINT_SIZE_MIN_ARB 0x8126 + GL_POINT_SIZE_MAX_ARB 0x8127 + GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 + GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 + void glPointParameterfARB (GLenum pname, GLfloat param) + void glPointParameterfvARB (GLenum pname, GLfloat* params) diff --git a/glext/GL_ARB_point_sprite b/glext/GL_ARB_point_sprite new file mode 100644 index 0000000..0f672a3 --- /dev/null +++ b/glext/GL_ARB_point_sprite @@ -0,0 +1,4 @@ +GL_ARB_point_sprite +http://oss.sgi.com/projects/ogl-sample/registry/ARB/point_sprite.txt + GL_POINT_SPRITE_ARB 0x8861 + GL_COORD_REPLACE_ARB 0x8862 diff --git a/glext/GL_ARB_shader_objects b/glext/GL_ARB_shader_objects new file mode 100644 index 0000000..7578ba5 --- /dev/null +++ b/glext/GL_ARB_shader_objects @@ -0,0 +1,69 @@ +GL_ARB_shader_objects +http://oss.sgi.com/projects/ogl-sample/registry/ARB/shader_objects.txt + GL_PROGRAM_OBJECT_ARB 0x8B40 + GL_SHADER_OBJECT_ARB 0x8B48 + GL_OBJECT_TYPE_ARB 0x8B4E + GL_OBJECT_SUBTYPE_ARB 0x8B4F + GL_FLOAT_VEC2_ARB 0x8B50 + GL_FLOAT_VEC3_ARB 0x8B51 + GL_FLOAT_VEC4_ARB 0x8B52 + GL_INT_VEC2_ARB 0x8B53 + GL_INT_VEC3_ARB 0x8B54 + GL_INT_VEC4_ARB 0x8B55 + GL_BOOL_ARB 0x8B56 + GL_BOOL_VEC2_ARB 0x8B57 + GL_BOOL_VEC3_ARB 0x8B58 + GL_BOOL_VEC4_ARB 0x8B59 + GL_FLOAT_MAT2_ARB 0x8B5A + GL_FLOAT_MAT3_ARB 0x8B5B + GL_FLOAT_MAT4_ARB 0x8B5C + GL_OBJECT_DELETE_STATUS_ARB 0x8B80 + GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 + GL_OBJECT_LINK_STATUS_ARB 0x8B82 + GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 + GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 + GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 + GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 + GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 + GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 + void glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj) + void glCompileShaderARB (GLhandleARB shaderObj) + GLhandleARB glCreateProgramObjectARB (void) + GLhandleARB glCreateShaderObjectARB (GLenum shaderType) + void glDeleteObjectARB (GLhandleARB obj) + void glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj) + void glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name) + void glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB *obj) + GLhandleARB glGetHandleARB (GLenum pname) + void glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *infoLog) + void glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat* params) + void glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint* params) + void glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *source) + GLint glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB* name) + void glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat* params) + void glGetUniformivARB (GLhandleARB programObj, GLint location, GLint* params) + void glLinkProgramARB (GLhandleARB programObj) + void glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint *length) + void glUniform1fARB (GLint location, GLfloat v0) + void glUniform1fvARB (GLint location, GLsizei count, const GLfloat* value) + void glUniform1iARB (GLint location, GLint v0) + void glUniform1ivARB (GLint location, GLsizei count, const GLint* value) + void glUniform2fARB (GLint location, GLfloat v0, GLfloat v1) + void glUniform2fvARB (GLint location, GLsizei count, const GLfloat* value) + void glUniform2iARB (GLint location, GLint v0, GLint v1) + void glUniform2ivARB (GLint location, GLsizei count, const GLint* value) + void glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2) + void glUniform3fvARB (GLint location, GLsizei count, const GLfloat* value) + void glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2) + void glUniform3ivARB (GLint location, GLsizei count, const GLint* value) + void glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) + void glUniform4fvARB (GLint location, GLsizei count, const GLfloat* value) + void glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3) + void glUniform4ivARB (GLint location, GLsizei count, const GLint* value) + void glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) + void glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) + void glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) + void glUseProgramObjectARB (GLhandleARB programObj) + void glValidateProgramARB (GLhandleARB programObj) + typedef char GLcharARB + typedef int GLhandleARB diff --git a/glext/GL_ARB_shading_language_100 b/glext/GL_ARB_shading_language_100 new file mode 100644 index 0000000..4d3777c --- /dev/null +++ b/glext/GL_ARB_shading_language_100 @@ -0,0 +1,2 @@ +GL_ARB_shading_language_100 +http://oss.sgi.com/projects/ogl-sample/registry/ARB/shading_language_100.txt diff --git a/glext/GL_ARB_shadow b/glext/GL_ARB_shadow new file mode 100644 index 0000000..577f1ec --- /dev/null +++ b/glext/GL_ARB_shadow @@ -0,0 +1,5 @@ +GL_ARB_shadow +http://oss.sgi.com/projects/ogl-sample/registry/ARB/shadow.txt + GL_TEXTURE_COMPARE_MODE_ARB 0x884C + GL_TEXTURE_COMPARE_FUNC_ARB 0x884D + GL_COMPARE_R_TO_TEXTURE_ARB 0x884E diff --git a/glext/GL_ARB_shadow_ambient b/glext/GL_ARB_shadow_ambient new file mode 100644 index 0000000..0d69360 --- /dev/null +++ b/glext/GL_ARB_shadow_ambient @@ -0,0 +1,3 @@ +GL_ARB_shadow_ambient +http://oss.sgi.com/projects/ogl-sample/registry/ARB/shadow_ambient.txt + GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF diff --git a/glext/GL_ARB_texture_border_clamp b/glext/GL_ARB_texture_border_clamp new file mode 100644 index 0000000..c23fb78 --- /dev/null +++ b/glext/GL_ARB_texture_border_clamp @@ -0,0 +1,3 @@ +GL_ARB_texture_border_clamp +http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_border_clamp.txt + GL_CLAMP_TO_BORDER_ARB 0x812D diff --git a/glext/GL_ARB_texture_compression b/glext/GL_ARB_texture_compression new file mode 100644 index 0000000..870876b --- /dev/null +++ b/glext/GL_ARB_texture_compression @@ -0,0 +1,20 @@ +GL_ARB_texture_compression +http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_compression.txt + GL_COMPRESSED_ALPHA_ARB 0x84E9 + GL_COMPRESSED_LUMINANCE_ARB 0x84EA + GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB + GL_COMPRESSED_INTENSITY_ARB 0x84EC + GL_COMPRESSED_RGB_ARB 0x84ED + GL_COMPRESSED_RGBA_ARB 0x84EE + GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF + GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 + GL_TEXTURE_COMPRESSED_ARB 0x86A1 + GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 + GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 + void glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data) + void glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data) + void glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data) + void glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data) + void glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data) + void glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data) + void glGetCompressedTexImageARB (GLenum target, GLint lod, void* img) diff --git a/glext/GL_ARB_texture_cube_map b/glext/GL_ARB_texture_cube_map new file mode 100644 index 0000000..0c5e0ed --- /dev/null +++ b/glext/GL_ARB_texture_cube_map @@ -0,0 +1,14 @@ +GL_ARB_texture_cube_map +http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_cube_map.txt + GL_NORMAL_MAP_ARB 0x8511 + GL_REFLECTION_MAP_ARB 0x8512 + GL_TEXTURE_CUBE_MAP_ARB 0x8513 + GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 + GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 + GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 + GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 + GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 + GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 + GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A + GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B + GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C diff --git a/glext/GL_ARB_texture_env_add b/glext/GL_ARB_texture_env_add new file mode 100644 index 0000000..ece3aa2 --- /dev/null +++ b/glext/GL_ARB_texture_env_add @@ -0,0 +1,2 @@ +GL_ARB_texture_env_add +http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_env_add.txt diff --git a/glext/GL_ARB_texture_env_combine b/glext/GL_ARB_texture_env_combine new file mode 100644 index 0000000..ad3e3d5 --- /dev/null +++ b/glext/GL_ARB_texture_env_combine @@ -0,0 +1,24 @@ +GL_ARB_texture_env_combine +http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_env_combine.txt + GL_SUBTRACT_ARB 0x84E7 + GL_COMBINE_ARB 0x8570 + GL_COMBINE_RGB_ARB 0x8571 + GL_COMBINE_ALPHA_ARB 0x8572 + GL_RGB_SCALE_ARB 0x8573 + GL_ADD_SIGNED_ARB 0x8574 + GL_INTERPOLATE_ARB 0x8575 + GL_CONSTANT_ARB 0x8576 + GL_PRIMARY_COLOR_ARB 0x8577 + GL_PREVIOUS_ARB 0x8578 + GL_SOURCE0_RGB_ARB 0x8580 + GL_SOURCE1_RGB_ARB 0x8581 + GL_SOURCE2_RGB_ARB 0x8582 + GL_SOURCE0_ALPHA_ARB 0x8588 + GL_SOURCE1_ALPHA_ARB 0x8589 + GL_SOURCE2_ALPHA_ARB 0x858A + GL_OPERAND0_RGB_ARB 0x8590 + GL_OPERAND1_RGB_ARB 0x8591 + GL_OPERAND2_RGB_ARB 0x8592 + GL_OPERAND0_ALPHA_ARB 0x8598 + GL_OPERAND1_ALPHA_ARB 0x8599 + GL_OPERAND2_ALPHA_ARB 0x859A diff --git a/glext/GL_ARB_texture_env_crossbar b/glext/GL_ARB_texture_env_crossbar new file mode 100644 index 0000000..9cfe6d0 --- /dev/null +++ b/glext/GL_ARB_texture_env_crossbar @@ -0,0 +1,2 @@ +GL_ARB_texture_env_crossbar +http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_env_crossbar.txt diff --git a/glext/GL_ARB_texture_env_dot3 b/glext/GL_ARB_texture_env_dot3 new file mode 100644 index 0000000..622815d --- /dev/null +++ b/glext/GL_ARB_texture_env_dot3 @@ -0,0 +1,4 @@ +GL_ARB_texture_env_dot3 +http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_env_dot3.txt + GL_DOT3_RGB_ARB 0x86AE + GL_DOT3_RGBA_ARB 0x86AF diff --git a/glext/GL_ARB_texture_mirrored_repeat b/glext/GL_ARB_texture_mirrored_repeat new file mode 100644 index 0000000..9a48d6d --- /dev/null +++ b/glext/GL_ARB_texture_mirrored_repeat @@ -0,0 +1,3 @@ +GL_ARB_texture_mirrored_repeat +http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_mirrored_repeat.txt + GL_MIRRORED_REPEAT_ARB 0x8370 diff --git a/glext/GL_ARB_texture_non_power_of_two b/glext/GL_ARB_texture_non_power_of_two new file mode 100644 index 0000000..c0668b8 --- /dev/null +++ b/glext/GL_ARB_texture_non_power_of_two @@ -0,0 +1,2 @@ +GL_ARB_texture_non_power_of_two +http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_non_power_of_two.txt diff --git a/glext/GL_ARB_transpose_matrix b/glext/GL_ARB_transpose_matrix new file mode 100644 index 0000000..a08247d --- /dev/null +++ b/glext/GL_ARB_transpose_matrix @@ -0,0 +1,6 @@ +GL_ARB_transpose_matrix +http://oss.sgi.com/projects/ogl-sample/registry/ARB/transpose_matrix.txt + GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 + GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 + GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 + GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 diff --git a/glext/GL_ARB_vertex_blend b/glext/GL_ARB_vertex_blend new file mode 100644 index 0000000..006cfe4 --- /dev/null +++ b/glext/GL_ARB_vertex_blend @@ -0,0 +1,54 @@ +GL_ARB_vertex_blend +http://oss.sgi.com/projects/ogl-sample/registry/ARB/vertex_blend.txt + GL_MAX_VERTEX_UNITS_ARB 0x86A4 + GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 + GL_WEIGHT_SUM_UNITY_ARB 0x86A6 + GL_VERTEX_BLEND_ARB 0x86A7 + GL_CURRENT_WEIGHT_ARB 0x86A8 + GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 + GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA + GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB + GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC + GL_WEIGHT_ARRAY_ARB 0x86AD + GL_MODELVIEW0_ARB 0x1700 + GL_MODELVIEW1_ARB 0x850A + GL_MODELVIEW2_ARB 0x8722 + GL_MODELVIEW3_ARB 0x8723 + GL_MODELVIEW4_ARB 0x8724 + GL_MODELVIEW5_ARB 0x8725 + GL_MODELVIEW6_ARB 0x8726 + GL_MODELVIEW7_ARB 0x8727 + GL_MODELVIEW8_ARB 0x8728 + GL_MODELVIEW9_ARB 0x8729 + GL_MODELVIEW10_ARB 0x872A + GL_MODELVIEW11_ARB 0x872B + GL_MODELVIEW12_ARB 0x872C + GL_MODELVIEW13_ARB 0x872D + GL_MODELVIEW14_ARB 0x872E + GL_MODELVIEW15_ARB 0x872F + GL_MODELVIEW16_ARB 0x8730 + GL_MODELVIEW17_ARB 0x8731 + GL_MODELVIEW18_ARB 0x8732 + GL_MODELVIEW19_ARB 0x8733 + GL_MODELVIEW20_ARB 0x8734 + GL_MODELVIEW21_ARB 0x8735 + GL_MODELVIEW22_ARB 0x8736 + GL_MODELVIEW23_ARB 0x8737 + GL_MODELVIEW24_ARB 0x8738 + GL_MODELVIEW25_ARB 0x8739 + GL_MODELVIEW26_ARB 0x873A + GL_MODELVIEW27_ARB 0x873B + GL_MODELVIEW28_ARB 0x873C + GL_MODELVIEW29_ARB 0x873D + GL_MODELVIEW30_ARB 0x873E + GL_MODELVIEW31_ARB 0x873F + void glWeightbvARB (GLint size, GLbyte *weights) + void glWeightsvARB (GLint size, GLshort *weights) + void glWeightivARB (GLint size, GLint *weights) + void glWeightfvARB (GLint size, GLfloat *weights) + void glWeightdvARB (GLint size, GLdouble *weights) + void glWeightubvARB (GLint size, GLubyte *weights) + void glWeightusvARB (GLint size, GLushort *weights) + void glWeightuivARB (GLint size, GLuint *weights) + void glWeightPointerARB (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) + void glVertexBlendARB (GLint count) diff --git a/glext/GL_ARB_vertex_buffer_object b/glext/GL_ARB_vertex_buffer_object new file mode 100644 index 0000000..1d524eb --- /dev/null +++ b/glext/GL_ARB_vertex_buffer_object @@ -0,0 +1,58 @@ +GL_ARB_vertex_buffer_object +http://oss.sgi.com/projects/ogl-sample/registry/ARB/vertex_buffer_object.txt + GL_BUFFER_SIZE_ARB 0x8764 + GL_BUFFER_USAGE_ARB 0x8765 + GL_ARRAY_BUFFER_ARB 0x8892 + GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 + GL_ARRAY_BUFFER_BINDING_ARB 0x8894 + GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 + GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 + GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 + GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 + GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 + GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A + GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B + GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C + GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D + GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E + GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F + GL_READ_ONLY_ARB 0x88B8 + GL_WRITE_ONLY_ARB 0x88B9 + GL_READ_WRITE_ARB 0x88BA + GL_BUFFER_ACCESS_ARB 0x88BB + GL_BUFFER_MAPPED_ARB 0x88BC + GL_BUFFER_MAP_POINTER_ARB 0x88BD + GL_STREAM_DRAW_ARB 0x88E0 + GL_STREAM_READ_ARB 0x88E1 + GL_STREAM_COPY_ARB 0x88E2 + GL_STATIC_DRAW_ARB 0x88E4 + GL_STATIC_READ_ARB 0x88E5 + GL_STATIC_COPY_ARB 0x88E6 + GL_DYNAMIC_DRAW_ARB 0x88E8 + GL_DYNAMIC_READ_ARB 0x88E9 + GL_DYNAMIC_COPY_ARB 0x88EA + void glBindBufferARB (GLenum target, GLuint buffer) + void glBufferDataARB (GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) + void glBufferDataARB (GLenum target, GLsizeiptrARB size, IntPtr data, GLenum usage) + void glBufferDataARB (GLenum target, GLsizeiptrARB size, System.Array data, GLenum usage) + void glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) + void glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, IntPtr data) + void glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, System.Array data) + void glDeleteBuffersARB (GLsizei n, const GLuint* buffers) + void glDeleteBuffersARB (GLsizei n, ref GLuint buffers) + void glDeleteBuffersARB (GLsizei n, GLuint [] buffers) + void glGenBuffersARB (GLsizei n, GLuint* buffers) + void glGenBuffersARB (GLsizei n, out GLuint buffers) + void glGenBuffersARB (GLsizei n, GLuint [] buffers) + void glGetBufferParameterivARB (GLenum target, GLenum pname, GLint* params) + void glGetBufferParameterivARB (GLenum target, GLenum pname, out GLint params) + void glGetBufferParameterivARB (GLenum target, GLenum pname, GLint [] params) + void glGetBufferPointervARB (GLenum target, GLenum pname, GLvoid** params) + void glGetBufferPointervARB (GLenum target, GLenum pname, out IntPtr params) + void glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid* data) + void glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, System.Array data) + GLboolean glIsBufferARB (GLuint buffer) + IntPtr glMapBufferARB (GLenum target, GLenum access) + GLboolean glUnmapBufferARB (GLenum target) + typedef ptrdiff_t GLsizeiptrARB + typedef ptrdiff_t GLintptrARB diff --git a/glext/GL_ARB_vertex_program b/glext/GL_ARB_vertex_program new file mode 100644 index 0000000..77dbec6 --- /dev/null +++ b/glext/GL_ARB_vertex_program @@ -0,0 +1,143 @@ +GL_ARB_vertex_program +http://oss.sgi.com/projects/ogl-sample/registry/ARB/vertex_program.txt + GL_COLOR_SUM_ARB 0x8458 + GL_VERTEX_PROGRAM_ARB 0x8620 + GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 + GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 + GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 + GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 + GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 + GL_PROGRAM_LENGTH_ARB 0x8627 + GL_PROGRAM_STRING_ARB 0x8628 + GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E + GL_MAX_PROGRAM_MATRICES_ARB 0x862F + GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 + GL_CURRENT_MATRIX_ARB 0x8641 + GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 + GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 + GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 + GL_PROGRAM_ERROR_POSITION_ARB 0x864B + GL_PROGRAM_BINDING_ARB 0x8677 + GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 + GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A + GL_PROGRAM_ERROR_STRING_ARB 0x8874 + GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 + GL_PROGRAM_FORMAT_ARB 0x8876 + GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 + GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 + GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 + GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 + GL_PROGRAM_TEMPORARIES_ARB 0x88A4 + GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 + GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 + GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 + GL_PROGRAM_PARAMETERS_ARB 0x88A8 + GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 + GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA + GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB + GL_PROGRAM_ATTRIBS_ARB 0x88AC + GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD + GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE + GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF + GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 + GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 + GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 + GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 + GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 + GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 + GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 + GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 + GL_MATRIX0_ARB 0x88C0 + GL_MATRIX1_ARB 0x88C1 + GL_MATRIX2_ARB 0x88C2 + GL_MATRIX3_ARB 0x88C3 + GL_MATRIX4_ARB 0x88C4 + GL_MATRIX5_ARB 0x88C5 + GL_MATRIX6_ARB 0x88C6 + GL_MATRIX7_ARB 0x88C7 + GL_MATRIX8_ARB 0x88C8 + GL_MATRIX9_ARB 0x88C9 + GL_MATRIX10_ARB 0x88CA + GL_MATRIX11_ARB 0x88CB + GL_MATRIX12_ARB 0x88CC + GL_MATRIX13_ARB 0x88CD + GL_MATRIX14_ARB 0x88CE + GL_MATRIX15_ARB 0x88CF + GL_MATRIX16_ARB 0x88D0 + GL_MATRIX17_ARB 0x88D1 + GL_MATRIX18_ARB 0x88D2 + GL_MATRIX19_ARB 0x88D3 + GL_MATRIX20_ARB 0x88D4 + GL_MATRIX21_ARB 0x88D5 + GL_MATRIX22_ARB 0x88D6 + GL_MATRIX23_ARB 0x88D7 + GL_MATRIX24_ARB 0x88D8 + GL_MATRIX25_ARB 0x88D9 + GL_MATRIX26_ARB 0x88DA + GL_MATRIX27_ARB 0x88DB + GL_MATRIX28_ARB 0x88DC + GL_MATRIX29_ARB 0x88DD + GL_MATRIX30_ARB 0x88DE + GL_MATRIX31_ARB 0x88DF + void glBindProgramARB (GLenum target, GLuint program) + void glDeleteProgramsARB (GLsizei n, const GLuint* programs) + void glDisableVertexAttribArrayARB (GLuint index) + void glEnableVertexAttribArrayARB (GLuint index) + void glGenProgramsARB (GLsizei n, GLuint* programs) + void glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble* params) + void glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat* params) + void glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble* params) + void glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat* params) + void glGetProgramStringARB (GLenum target, GLenum pname, void* string) + void glGetProgramivARB (GLenum target, GLenum pname, GLint* params) + void glGetVertexAttribPointervARB (GLuint index, GLenum pname, GLvoid** pointer) + void glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble* params) + void glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat* params) + void glGetVertexAttribivARB (GLuint index, GLenum pname, GLint* params) + GLboolean glIsProgramARB (GLuint program) + void glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) + void glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble* params) + void glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat* params) + void glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) + void glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble* params) + void glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat* params) + void glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void* string) + void glVertexAttrib1dARB (GLuint index, GLdouble x) + void glVertexAttrib1dvARB (GLuint index, const GLdouble* v) + void glVertexAttrib1fARB (GLuint index, GLfloat x) + void glVertexAttrib1fvARB (GLuint index, const GLfloat* v) + void glVertexAttrib1sARB (GLuint index, GLshort x) + void glVertexAttrib1svARB (GLuint index, const GLshort* v) + void glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y) + void glVertexAttrib2dvARB (GLuint index, const GLdouble* v) + void glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y) + void glVertexAttrib2fvARB (GLuint index, const GLfloat* v) + void glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y) + void glVertexAttrib2svARB (GLuint index, const GLshort* v) + void glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z) + void glVertexAttrib3dvARB (GLuint index, const GLdouble* v) + void glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z) + void glVertexAttrib3fvARB (GLuint index, const GLfloat* v) + void glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z) + void glVertexAttrib3svARB (GLuint index, const GLshort* v) + void glVertexAttrib4NbvARB (GLuint index, const GLbyte* v) + void glVertexAttrib4NivARB (GLuint index, const GLint* v) + void glVertexAttrib4NsvARB (GLuint index, const GLshort* v) + void glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) + void glVertexAttrib4NubvARB (GLuint index, const GLubyte* v) + void glVertexAttrib4NuivARB (GLuint index, const GLuint* v) + void glVertexAttrib4NusvARB (GLuint index, const GLushort* v) + void glVertexAttrib4bvARB (GLuint index, const GLbyte* v) + void glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) + void glVertexAttrib4dvARB (GLuint index, const GLdouble* v) + void glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glVertexAttrib4fvARB (GLuint index, const GLfloat* v) + void glVertexAttrib4ivARB (GLuint index, const GLint* v) + void glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) + void glVertexAttrib4svARB (GLuint index, const GLshort* v) + void glVertexAttrib4ubvARB (GLuint index, const GLubyte* v) + void glVertexAttrib4uivARB (GLuint index, const GLuint* v) + void glVertexAttrib4usvARB (GLuint index, const GLushort* v) + void glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* pointer) diff --git a/glext/GL_ARB_vertex_shader b/glext/GL_ARB_vertex_shader new file mode 100644 index 0000000..2d2b872 --- /dev/null +++ b/glext/GL_ARB_vertex_shader @@ -0,0 +1,12 @@ +GL_ARB_vertex_shader +http://oss.sgi.com/projects/ogl-sample/registry/ARB/vertex_shader.txt + GL_VERTEX_SHADER_ARB 0x8B31 + GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A + GL_MAX_VARYING_FLOATS_ARB 0x8B4B + GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C + GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D + GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 + GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A + void glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB* name) + void glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name) + GLint glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB* name) diff --git a/glext/GL_ARB_window_pos b/glext/GL_ARB_window_pos new file mode 100644 index 0000000..60d1f91 --- /dev/null +++ b/glext/GL_ARB_window_pos @@ -0,0 +1,18 @@ +GL_ARB_window_pos +http://oss.sgi.com/projects/ogl-sample/registry/ARB/window_pos.txt + void glWindowPos2dARB (GLdouble x, GLdouble y) + void glWindowPos2dvARB (const GLdouble* p) + void glWindowPos2fARB (GLfloat x, GLfloat y) + void glWindowPos2fvARB (const GLfloat* p) + void glWindowPos2iARB (GLint x, GLint y) + void glWindowPos2ivARB (const GLint* p) + void glWindowPos2sARB (GLshort x, GLshort y) + void glWindowPos2svARB (const GLshort* p) + void glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z) + void glWindowPos3dvARB (const GLdouble* p) + void glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z) + void glWindowPos3fvARB (const GLfloat* p) + void glWindowPos3iARB (GLint x, GLint y, GLint z) + void glWindowPos3ivARB (const GLint* p) + void glWindowPos3sARB (GLshort x, GLshort y, GLshort z) + void glWindowPos3svARB (const GLshort* p) diff --git a/glext/GL_ATIX_point_sprites b/glext/GL_ATIX_point_sprites new file mode 100644 index 0000000..56d2d17 --- /dev/null +++ b/glext/GL_ATIX_point_sprites @@ -0,0 +1,8 @@ +GL_ATIX_point_sprites +http://www.ati.com/developer/atiopengl.pdf + GL_TEXTURE_POINT_MODE_ATIX 0x60b0 + GL_TEXTURE_POINT_ONE_COORD_ATIX 0x60b1 + GL_TEXTURE_POINT_SPRITE_ATIX 0x60b2 + GL_POINT_SPRITE_CULL_MODE_ATIX 0x60b3 + GL_POINT_SPRITE_CULL_CENTER_ATIX 0x60b4 + GL_POINT_SPRITE_CULL_CLIP_ATIX 0x60b5 diff --git a/glext/GL_ATIX_texture_env_combine3 b/glext/GL_ATIX_texture_env_combine3 new file mode 100644 index 0000000..8b6b156 --- /dev/null +++ b/glext/GL_ATIX_texture_env_combine3 @@ -0,0 +1,5 @@ +GL_ATIX_texture_env_combine3 +http://www.ati.com/developer/atiopengl.pdf + GL_MODULATE_ADD_ATIX 0x8744 + GL_MODULATE_SIGNED_ADD_ATIX 0x8745 + GL_MODULATE_SUBTRACT_ATIX 0x8746 diff --git a/glext/GL_ATIX_texture_env_route b/glext/GL_ATIX_texture_env_route new file mode 100644 index 0000000..376ab3a --- /dev/null +++ b/glext/GL_ATIX_texture_env_route @@ -0,0 +1,5 @@ +GL_ATIX_texture_env_route +http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/ATIX_texture_env_route.txt + GL_SECONDARY_COLOR_ATIX 0x8747 + GL_TEXTURE_OUTPUT_RGB_ATIX 0x8748 + GL_TEXTURE_OUTPUT_ALPHA_ATIX 0x8749 diff --git a/glext/GL_ATIX_vertex_shader_output_point_size b/glext/GL_ATIX_vertex_shader_output_point_size new file mode 100644 index 0000000..582383d --- /dev/null +++ b/glext/GL_ATIX_vertex_shader_output_point_size @@ -0,0 +1,3 @@ +GL_ATIX_vertex_shader_output_point_size +http://www.ati.com/developer/atiopengl.pdf + GL_OUTPUT_POINT_SIZE_ATIX 0x610E diff --git a/glext/GL_ATI_draw_buffers b/glext/GL_ATI_draw_buffers new file mode 100644 index 0000000..66b4f02 --- /dev/null +++ b/glext/GL_ATI_draw_buffers @@ -0,0 +1,20 @@ +GL_ATI_draw_buffers +http://oss.sgi.com/projects/ogl-sample/registry/ATI/draw_buffers.txt + GL_MAX_DRAW_BUFFERS_ATI 0x8824 + GL_DRAW_BUFFER0_ATI 0x8825 + GL_DRAW_BUFFER1_ATI 0x8826 + GL_DRAW_BUFFER2_ATI 0x8827 + GL_DRAW_BUFFER3_ATI 0x8828 + GL_DRAW_BUFFER4_ATI 0x8829 + GL_DRAW_BUFFER5_ATI 0x882A + GL_DRAW_BUFFER6_ATI 0x882B + GL_DRAW_BUFFER7_ATI 0x882C + GL_DRAW_BUFFER8_ATI 0x882D + GL_DRAW_BUFFER9_ATI 0x882E + GL_DRAW_BUFFER10_ATI 0x882F + GL_DRAW_BUFFER11_ATI 0x8830 + GL_DRAW_BUFFER12_ATI 0x8831 + GL_DRAW_BUFFER13_ATI 0x8832 + GL_DRAW_BUFFER14_ATI 0x8833 + GL_DRAW_BUFFER15_ATI 0x8834 + void glDrawBuffersATI (GLsizei n, const GLenum* bufs) diff --git a/glext/GL_ATI_element_array b/glext/GL_ATI_element_array new file mode 100644 index 0000000..3cca4e6 --- /dev/null +++ b/glext/GL_ATI_element_array @@ -0,0 +1,8 @@ +GL_ATI_element_array +http://oss.sgi.com/projects/ogl-sample/registry/ATI/element_array.txt + GL_ELEMENT_ARRAY_ATI 0x8768 + GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 + GL_ELEMENT_ARRAY_POINTER_ATI 0x876A + void glDrawElementArrayATI (GLenum mode, GLsizei count) + void glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count) + void glElementPointerATI (GLenum type, const void* pointer) diff --git a/glext/GL_ATI_envmap_bumpmap b/glext/GL_ATI_envmap_bumpmap new file mode 100644 index 0000000..fff4aac --- /dev/null +++ b/glext/GL_ATI_envmap_bumpmap @@ -0,0 +1,14 @@ +GL_ATI_envmap_bumpmap +http://oss.sgi.com/projects/ogl-sample/registry/ATI/envmap_bumpmap.txt + GL_BUMP_ROT_MATRIX_ATI 0x8775 + GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 + GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 + GL_BUMP_TEX_UNITS_ATI 0x8778 + GL_DUDV_ATI 0x8779 + GL_DU8DV8_ATI 0x877A + GL_BUMP_ENVMAP_ATI 0x877B + GL_BUMP_TARGET_ATI 0x877C + void glTexBumpParameterivATI (GLenum pname, GLint *param) + void glTexBumpParameterfvATI (GLenum pname, GLfloat *param) + void glGetTexBumpParameterivATI (GLenum pname, GLint *param) + void glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param) diff --git a/glext/GL_ATI_fragment_shader b/glext/GL_ATI_fragment_shader new file mode 100644 index 0000000..6c50fb1 --- /dev/null +++ b/glext/GL_ATI_fragment_shader @@ -0,0 +1,60 @@ +GL_ATI_fragment_shader +http://oss.sgi.com/projects/ogl-sample/registry/ATI/fragment_shader.txt + GL_RED_BIT_ATI 0x00000001 + GL_2X_BIT_ATI 0x00000001 + GL_COMP_BIT_ATI 0x00000002 + GL_GREEN_BIT_ATI 0x00000002 + GL_4X_BIT_ATI 0x00000002 + GL_8X_BIT_ATI 0x00000004 + GL_NEGATE_BIT_ATI 0x00000004 + GL_BLUE_BIT_ATI 0x00000004 + GL_HALF_BIT_ATI 0x00000008 + GL_BIAS_BIT_ATI 0x00000008 + GL_QUARTER_BIT_ATI 0x00000010 + GL_EIGHTH_BIT_ATI 0x00000020 + GL_SATURATE_BIT_ATI 0x00000040 + GL_FRAGMENT_SHADER_ATI 0x8920 + GL_REG_0_ATI 0x8921 + GL_REG_1_ATI 0x8922 + GL_REG_2_ATI 0x8923 + GL_REG_3_ATI 0x8924 + GL_REG_4_ATI 0x8925 + GL_REG_5_ATI 0x8926 + GL_CON_0_ATI 0x8941 + GL_CON_1_ATI 0x8942 + GL_CON_2_ATI 0x8943 + GL_CON_3_ATI 0x8944 + GL_CON_4_ATI 0x8945 + GL_CON_5_ATI 0x8946 + GL_CON_6_ATI 0x8947 + GL_CON_7_ATI 0x8948 + GL_MOV_ATI 0x8961 + GL_ADD_ATI 0x8963 + GL_MUL_ATI 0x8964 + GL_SUB_ATI 0x8965 + GL_DOT3_ATI 0x8966 + GL_DOT4_ATI 0x8967 + GL_MAD_ATI 0x8968 + GL_LERP_ATI 0x8969 + GL_CND_ATI 0x896A + GL_CND0_ATI 0x896B + GL_DOT2_ADD_ATI 0x896C + GL_SECONDARY_INTERPOLATOR_ATI 0x896D + GL_SWIZZLE_STR_ATI 0x8976 + GL_SWIZZLE_STQ_ATI 0x8977 + GL_SWIZZLE_STR_DR_ATI 0x8978 + GL_SWIZZLE_STQ_DQ_ATI 0x8979 + void glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) + void glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) + void glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) + void glBeginFragmentShaderATI (void) + void glBindFragmentShaderATI (GLuint id) + void glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) + void glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) + void glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) + void glDeleteFragmentShaderATI (GLuint id) + void glEndFragmentShaderATI (void) + GLuint glGenFragmentShadersATI (GLuint range) + void glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle) + void glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle) + void glSetFragmentShaderConstantATI (GLuint dst, const GLfloat* value) diff --git a/glext/GL_ATI_map_object_buffer b/glext/GL_ATI_map_object_buffer new file mode 100644 index 0000000..b303bbf --- /dev/null +++ b/glext/GL_ATI_map_object_buffer @@ -0,0 +1,4 @@ +GL_ATI_map_object_buffer +http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ATI_map_object_buffer.txt + void* glMapObjectBufferATI (GLuint buffer) + void glUnmapObjectBufferATI (GLuint buffer) diff --git a/glext/GL_ATI_pn_triangles b/glext/GL_ATI_pn_triangles new file mode 100644 index 0000000..a319050 --- /dev/null +++ b/glext/GL_ATI_pn_triangles @@ -0,0 +1,13 @@ +GL_ATI_pn_triangles +http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ati_pn_triangles.txt + GL_PN_TRIANGLES_ATI 0x87F0 + GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 + GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 + GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 + GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 + GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 + GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 + GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 + GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 + void glPNTrianglesiATI (GLenum pname, GLint param) + void glPNTrianglesfATI (GLenum pname, GLfloat param) diff --git a/glext/GL_ATI_separate_stencil b/glext/GL_ATI_separate_stencil new file mode 100644 index 0000000..eabe67c --- /dev/null +++ b/glext/GL_ATI_separate_stencil @@ -0,0 +1,8 @@ +GL_ATI_separate_stencil +http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/ATI_separate_stencil.txt + GL_STENCIL_BACK_FUNC_ATI 0x8800 + GL_STENCIL_BACK_FAIL_ATI 0x8801 + GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 + GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 + void glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) + void glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) diff --git a/glext/GL_ATI_text_fragment_shader b/glext/GL_ATI_text_fragment_shader new file mode 100644 index 0000000..d9d89ac --- /dev/null +++ b/glext/GL_ATI_text_fragment_shader @@ -0,0 +1,3 @@ +GL_ATI_text_fragment_shader +http://oss.sgi.com/projects/ogl-sample/registry/ATI/text_fragment_shader.txt + GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 diff --git a/glext/GL_ATI_texture_env_combine3 b/glext/GL_ATI_texture_env_combine3 new file mode 100644 index 0000000..678a6a6 --- /dev/null +++ b/glext/GL_ATI_texture_env_combine3 @@ -0,0 +1,5 @@ +GL_ATI_texture_env_combine3 +http://oss.sgi.com/projects/ogl-sample/registry/ATI/texture_env_combine3.txt + GL_MODULATE_ADD_ATI 0x8744 + GL_MODULATE_SIGNED_ADD_ATI 0x8745 + GL_MODULATE_SUBTRACT_ATI 0x8746 diff --git a/glext/GL_ATI_texture_float b/glext/GL_ATI_texture_float new file mode 100644 index 0000000..2a4d224 --- /dev/null +++ b/glext/GL_ATI_texture_float @@ -0,0 +1,14 @@ +GL_ATI_texture_float +http://oss.sgi.com/projects/ogl-sample/registry/ATI/texture_float.txt + GL_RGBA_FLOAT32_ATI 0x8814 + GL_RGB_FLOAT32_ATI 0x8815 + GL_ALPHA_FLOAT32_ATI 0x8816 + GL_INTENSITY_FLOAT32_ATI 0x8817 + GL_LUMINANCE_FLOAT32_ATI 0x8818 + GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 + GL_RGBA_FLOAT16_ATI 0x881A + GL_RGB_FLOAT16_ATI 0x881B + GL_ALPHA_FLOAT16_ATI 0x881C + GL_INTENSITY_FLOAT16_ATI 0x881D + GL_LUMINANCE_FLOAT16_ATI 0x881E + GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F diff --git a/glext/GL_ATI_texture_mirror_once b/glext/GL_ATI_texture_mirror_once new file mode 100644 index 0000000..e221092 --- /dev/null +++ b/glext/GL_ATI_texture_mirror_once @@ -0,0 +1,4 @@ +GL_ATI_texture_mirror_once +http://oss.sgi.com/projects/ogl-sample/registry/ATI/texture_mirror_once.txt + GL_MIRROR_CLAMP_ATI 0x8742 + GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 diff --git a/glext/GL_ATI_vertex_array_object b/glext/GL_ATI_vertex_array_object new file mode 100644 index 0000000..691d2ae --- /dev/null +++ b/glext/GL_ATI_vertex_array_object @@ -0,0 +1,22 @@ +GL_ATI_vertex_array_object +http://oss.sgi.com/projects/ogl-sample/registry/ATI/vertex_array_object.txt + GL_STATIC_ATI 0x8760 + GL_DYNAMIC_ATI 0x8761 + GL_PRESERVE_ATI 0x8762 + GL_DISCARD_ATI 0x8763 + GL_OBJECT_BUFFER_SIZE_ATI 0x8764 + GL_OBJECT_BUFFER_USAGE_ATI 0x8765 + GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 + GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 + void glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) + void glFreeObjectBufferATI (GLuint buffer) + void glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat* params) + void glGetArrayObjectivATI (GLenum array, GLenum pname, GLint* params) + void glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat* params) + void glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint* params) + void glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat* params) + void glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint* params) + GLboolean glIsObjectBufferATI (GLuint buffer) + GLuint glNewObjectBufferATI (GLsizei size, const void* pointer, GLenum usage) + void glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void* pointer, GLenum preserve) + void glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) diff --git a/glext/GL_ATI_vertex_attrib_array_object b/glext/GL_ATI_vertex_attrib_array_object new file mode 100644 index 0000000..ad0ffbf --- /dev/null +++ b/glext/GL_ATI_vertex_attrib_array_object @@ -0,0 +1,5 @@ +GL_ATI_vertex_attrib_array_object +http://oss.sgi.com/projects/ogl-sample/registry/ATI/vertex_attrib_array_object.txt + void glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat* params) + void glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint* params) + void glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset) diff --git a/glext/GL_ATI_vertex_streams b/glext/GL_ATI_vertex_streams new file mode 100644 index 0000000..d467de3 --- /dev/null +++ b/glext/GL_ATI_vertex_streams @@ -0,0 +1,49 @@ +GL_ATI_vertex_streams +http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ATI_vertex_streams.txt + GL_MAX_VERTEX_STREAMS_ATI 0x876B + GL_VERTEX_SOURCE_ATI 0x876C + GL_VERTEX_STREAM0_ATI 0x876D + GL_VERTEX_STREAM1_ATI 0x876E + GL_VERTEX_STREAM2_ATI 0x876F + GL_VERTEX_STREAM3_ATI 0x8770 + GL_VERTEX_STREAM4_ATI 0x8771 + GL_VERTEX_STREAM5_ATI 0x8772 + GL_VERTEX_STREAM6_ATI 0x8773 + GL_VERTEX_STREAM7_ATI 0x8774 + void glClientActiveVertexStreamATI (GLenum stream) + void glVertexBlendEnviATI (GLenum pname, GLint param) + void glVertexBlendEnvfATI (GLenum pname, GLfloat param) + void glVertexStream2sATI (GLenum stream, GLshort x, GLshort y) + void glVertexStream2svATI (GLenum stream, const GLshort *v) + void glVertexStream2iATI (GLenum stream, GLint x, GLint y) + void glVertexStream2ivATI (GLenum stream, const GLint *v) + void glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y) + void glVertexStream2fvATI (GLenum stream, const GLfloat *v) + void glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y) + void glVertexStream2dvATI (GLenum stream, const GLdouble *v) + void glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z) + void glVertexStream3svATI (GLenum stream, const GLshort *v) + void glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z) + void glVertexStream3ivATI (GLenum stream, const GLint *v) + void glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z) + void glVertexStream3fvATI (GLenum stream, const GLfloat *v) + void glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z) + void glVertexStream3dvATI (GLenum stream, const GLdouble *v) + void glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w) + void glVertexStream4svATI (GLenum stream, const GLshort *v) + void glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w) + void glVertexStream4ivATI (GLenum stream, const GLint *v) + void glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glVertexStream4fvATI (GLenum stream, const GLfloat *v) + void glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w) + void glVertexStream4dvATI (GLenum stream, const GLdouble *v) + void glNormalStream3bATI (GLenum stream, GLbyte x, GLbyte y, GLbyte z) + void glNormalStream3bvATI (GLenum stream, const GLbyte *v) + void glNormalStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z) + void glNormalStream3svATI (GLenum stream, const GLshort *v) + void glNormalStream3iATI (GLenum stream, GLint x, GLint y, GLint z) + void glNormalStream3ivATI (GLenum stream, const GLint *v) + void glNormalStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z) + void glNormalStream3fvATI (GLenum stream, const GLfloat *v) + void glNormalStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z) + void glNormalStream3dvATI (GLenum stream, const GLdouble *v) diff --git a/glext/GL_EXT_422_pixels b/glext/GL_EXT_422_pixels new file mode 100644 index 0000000..f959655 --- /dev/null +++ b/glext/GL_EXT_422_pixels @@ -0,0 +1,6 @@ +GL_EXT_422_pixels +http://oss.sgi.com/projects/ogl-sample/registry/EXT/422_pixels.txt + GL_422_EXT 0x80CC + GL_422_REV_EXT 0x80CD + GL_422_AVERAGE_EXT 0x80CE + GL_422_REV_AVERAGE_EXT 0x80CF diff --git a/glext/GL_EXT_abgr b/glext/GL_EXT_abgr new file mode 100644 index 0000000..88fb2f3 --- /dev/null +++ b/glext/GL_EXT_abgr @@ -0,0 +1,3 @@ +GL_EXT_abgr +http://oss.sgi.com/projects/ogl-sample/registry/EXT/abgr.txt + GL_ABGR_EXT 0x8000 diff --git a/glext/GL_EXT_bgra b/glext/GL_EXT_bgra new file mode 100644 index 0000000..15ca374 --- /dev/null +++ b/glext/GL_EXT_bgra @@ -0,0 +1,4 @@ +GL_EXT_bgra +http://oss.sgi.com/projects/ogl-sample/registry/EXT/bgra.txt + GL_BGR_EXT 0x80E0 + GL_BGRA_EXT 0x80E1 diff --git a/glext/GL_EXT_blend_color b/glext/GL_EXT_blend_color new file mode 100644 index 0000000..71f1623 --- /dev/null +++ b/glext/GL_EXT_blend_color @@ -0,0 +1,8 @@ +GL_EXT_blend_color +http://oss.sgi.com/projects/ogl-sample/registry/EXT/blend_color.txt + GL_CONSTANT_COLOR_EXT 0x8001 + GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 + GL_CONSTANT_ALPHA_EXT 0x8003 + GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 + GL_BLEND_COLOR_EXT 0x8005 + void glBlendColorEXT (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) diff --git a/glext/GL_EXT_blend_equation_separate b/glext/GL_EXT_blend_equation_separate new file mode 100644 index 0000000..6b69306 --- /dev/null +++ b/glext/GL_EXT_blend_equation_separate @@ -0,0 +1,5 @@ +GL_EXT_blend_equation_separate +http://oss.sgi.com/projects/ogl-sample/registry/EXT/blend_equation_separate.txt + GL_BLEND_EQUATION_RGB_EXT 0x8009 + GL_BLEND_EQUATION_ALPHA_EXT 0x883D + void glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha) diff --git a/glext/GL_EXT_blend_func_separate b/glext/GL_EXT_blend_func_separate new file mode 100644 index 0000000..9756ca6 --- /dev/null +++ b/glext/GL_EXT_blend_func_separate @@ -0,0 +1,7 @@ +GL_EXT_blend_func_separate +http://oss.sgi.com/projects/ogl-sample/registry/EXT/blend_func_separate.txt + GL_BLEND_DST_RGB_EXT 0x80C8 + GL_BLEND_SRC_RGB_EXT 0x80C9 + GL_BLEND_DST_ALPHA_EXT 0x80CA + GL_BLEND_SRC_ALPHA_EXT 0x80CB + void glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) diff --git a/glext/GL_EXT_blend_logic_op b/glext/GL_EXT_blend_logic_op new file mode 100644 index 0000000..fdfc44f --- /dev/null +++ b/glext/GL_EXT_blend_logic_op @@ -0,0 +1,2 @@ +GL_EXT_blend_logic_op +http://oss.sgi.com/projects/ogl-sample/registry/EXT/blend_logic_op.txt diff --git a/glext/GL_EXT_blend_minmax b/glext/GL_EXT_blend_minmax new file mode 100644 index 0000000..e612fff --- /dev/null +++ b/glext/GL_EXT_blend_minmax @@ -0,0 +1,7 @@ +GL_EXT_blend_minmax +http://oss.sgi.com/projects/ogl-sample/registry/EXT/blend_minmax.txt + GL_FUNC_ADD_EXT 0x8006 + GL_MIN_EXT 0x8007 + GL_MAX_EXT 0x8008 + GL_BLEND_EQUATION_EXT 0x8009 + void glBlendEquationEXT (GLenum mode) diff --git a/glext/GL_EXT_blend_subtract b/glext/GL_EXT_blend_subtract new file mode 100644 index 0000000..dd00503 --- /dev/null +++ b/glext/GL_EXT_blend_subtract @@ -0,0 +1,4 @@ +GL_EXT_blend_subtract +http://oss.sgi.com/projects/ogl-sample/registry/EXT/blend_subtract.txt + GL_FUNC_SUBTRACT_EXT 0x800A + GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B diff --git a/glext/GL_EXT_clip_volume_hint b/glext/GL_EXT_clip_volume_hint new file mode 100644 index 0000000..512a6ec --- /dev/null +++ b/glext/GL_EXT_clip_volume_hint @@ -0,0 +1,3 @@ +GL_EXT_clip_volume_hint +http://oss.sgi.com/projects/ogl-sample/registry/EXT/clip_volume_hint.txt + GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 diff --git a/glext/GL_EXT_cmyka b/glext/GL_EXT_cmyka new file mode 100644 index 0000000..ec0f6b9 --- /dev/null +++ b/glext/GL_EXT_cmyka @@ -0,0 +1,6 @@ +GL_EXT_cmyka +http://oss.sgi.com/projects/ogl-sample/registry/EXT/cmyka.txt + GL_CMYK_EXT 0x800C + GL_CMYKA_EXT 0x800D + GL_PACK_CMYK_HINT_EXT 0x800E + GL_UNPACK_CMYK_HINT_EXT 0x800F diff --git a/glext/GL_EXT_color_subtable b/glext/GL_EXT_color_subtable new file mode 100644 index 0000000..cd64711 --- /dev/null +++ b/glext/GL_EXT_color_subtable @@ -0,0 +1,4 @@ +GL_EXT_color_subtable +http://oss.sgi.com/projects/ogl-sample/registry/EXT/color_subtable.txt + void glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void* data) + void glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) diff --git a/glext/GL_EXT_compiled_vertex_array b/glext/GL_EXT_compiled_vertex_array new file mode 100644 index 0000000..619d5b8 --- /dev/null +++ b/glext/GL_EXT_compiled_vertex_array @@ -0,0 +1,4 @@ +GL_EXT_compiled_vertex_array +http://oss.sgi.com/projects/ogl-sample/registry/EXT/compiled_vertex_array.txt + void glLockArraysEXT (GLint first, GLsizei count) + void glUnlockArraysEXT (void) diff --git a/glext/GL_EXT_convolution b/glext/GL_EXT_convolution new file mode 100644 index 0000000..9375ec2 --- /dev/null +++ b/glext/GL_EXT_convolution @@ -0,0 +1,35 @@ +GL_EXT_convolution +http://oss.sgi.com/projects/ogl-sample/registry/EXT/convolution.txt + GL_CONVOLUTION_1D_EXT 0x8010 + GL_CONVOLUTION_2D_EXT 0x8011 + GL_SEPARABLE_2D_EXT 0x8012 + GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 + GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 + GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 + GL_REDUCE_EXT 0x8016 + GL_CONVOLUTION_FORMAT_EXT 0x8017 + GL_CONVOLUTION_WIDTH_EXT 0x8018 + GL_CONVOLUTION_HEIGHT_EXT 0x8019 + GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A + GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B + GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C + GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D + GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E + GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F + GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 + GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 + GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 + GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 + void glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void* image) + void glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* image) + void glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat param) + void glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat* params) + void glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint param) + void glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint* params) + void glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) + void glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) + void glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void* image) + void glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat* params) + void glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint* params) + void glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void* row, void* column, void* span) + void glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* row, const void* column) diff --git a/glext/GL_EXT_coordinate_frame b/glext/GL_EXT_coordinate_frame new file mode 100644 index 0000000..cbb475c --- /dev/null +++ b/glext/GL_EXT_coordinate_frame @@ -0,0 +1,18 @@ +GL_EXT_coordinate_frame +http://oss.sgi.com/projects/ogl-sample/registry/EXT/coordinate_frame.txt + GL_TANGENT_ARRAY_EXT 0x8439 + GL_BINORMAL_ARRAY_EXT 0x843A + GL_CURRENT_TANGENT_EXT 0x843B + GL_CURRENT_BINORMAL_EXT 0x843C + GL_TANGENT_ARRAY_TYPE_EXT 0x843E + GL_TANGENT_ARRAY_STRIDE_EXT 0x843F + GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 + GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 + GL_TANGENT_ARRAY_POINTER_EXT 0x8442 + GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 + GL_MAP1_TANGENT_EXT 0x8444 + GL_MAP2_TANGENT_EXT 0x8445 + GL_MAP1_BINORMAL_EXT 0x8446 + GL_MAP2_BINORMAL_EXT 0x8447 + void glBinormalPointerEXT (GLenum type, GLsizei stride, void* pointer) + void glTangentPointerEXT (GLenum type, GLsizei stride, void* pointer) diff --git a/glext/GL_EXT_copy_texture b/glext/GL_EXT_copy_texture new file mode 100644 index 0000000..63ea5a9 --- /dev/null +++ b/glext/GL_EXT_copy_texture @@ -0,0 +1,7 @@ +GL_EXT_copy_texture +http://oss.sgi.com/projects/ogl-sample/registry/EXT/copy_texture.txt + void glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) + void glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) + void glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) + void glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) + void glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) diff --git a/glext/GL_EXT_cull_vertex b/glext/GL_EXT_cull_vertex new file mode 100644 index 0000000..11bf1e3 --- /dev/null +++ b/glext/GL_EXT_cull_vertex @@ -0,0 +1,4 @@ +GL_EXT_cull_vertex +http://oss.sgi.com/projects/ogl-sample/registry/EXT/cull_vertex.txt + void glCullParameterdvEXT (GLenum pname, GLdouble* params) + void glCullParameterfvEXT (GLenum pname, GLfloat* params) diff --git a/glext/GL_EXT_depth_bounds_test b/glext/GL_EXT_depth_bounds_test new file mode 100644 index 0000000..3998360 --- /dev/null +++ b/glext/GL_EXT_depth_bounds_test @@ -0,0 +1,5 @@ +GL_EXT_depth_bounds_test +http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_depth_bounds_test.txt + GL_DEPTH_BOUNDS_TEST_EXT 0x8890 + GL_DEPTH_BOUNDS_EXT 0x8891 + void glDepthBoundsEXT (GLclampd zmin, GLclampd zmax) diff --git a/glext/GL_EXT_draw_range_elements b/glext/GL_EXT_draw_range_elements new file mode 100644 index 0000000..a7bbd61 --- /dev/null +++ b/glext/GL_EXT_draw_range_elements @@ -0,0 +1,2 @@ +GL_EXT_draw_range_elements +http://oss.sgi.com/projects/ogl-sample/registry/EXT/draw_range_elements.txt diff --git a/glext/GL_EXT_fog_coord b/glext/GL_EXT_fog_coord new file mode 100644 index 0000000..cff5d39 --- /dev/null +++ b/glext/GL_EXT_fog_coord @@ -0,0 +1,15 @@ +GL_EXT_fog_coord +http://oss.sgi.com/projects/ogl-sample/registry/EXT/fog_coord.txt + GL_FOG_COORDINATE_SOURCE_EXT 0x8450 + GL_FOG_COORDINATE_EXT 0x8451 + GL_FRAGMENT_DEPTH_EXT 0x8452 + GL_CURRENT_FOG_COORDINATE_EXT 0x8453 + GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 + GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 + GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 + GL_FOG_COORDINATE_ARRAY_EXT 0x8457 + void glFogCoordfEXT (GLfloat coord) + void glFogCoordfvEXT (const GLfloat *coord) + void glFogCoorddEXT (GLdouble coord) + void glFogCoorddvEXT (const GLdouble *coord) + void glFogCoordPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer) diff --git a/glext/GL_EXT_fragment_lighting b/glext/GL_EXT_fragment_lighting new file mode 100644 index 0000000..7e79244 --- /dev/null +++ b/glext/GL_EXT_fragment_lighting @@ -0,0 +1,34 @@ +GL_EXT_fragment_lighting +http://oss.sgi.com/projects/ogl-sample/registry/EXT/fragment_lighting.txt + GL_FRAGMENT_LIGHTING_EXT 0x8400 + GL_FRAGMENT_COLOR_MATERIAL_EXT 0x8401 + GL_FRAGMENT_COLOR_MATERIAL_FACE_EXT 0x8402 + GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_EXT 0x8403 + GL_MAX_FRAGMENT_LIGHTS_EXT 0x8404 + GL_MAX_ACTIVE_LIGHTS_EXT 0x8405 + GL_CURRENT_RASTER_NORMAL_EXT 0x8406 + GL_LIGHT_ENV_MODE_EXT 0x8407 + GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_EXT 0x8408 + GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_EXT 0x8409 + GL_FRAGMENT_LIGHT_MODEL_AMBIENT_EXT 0x840A + GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_EXT 0x840B + GL_FRAGMENT_LIGHT0_EXT 0x840C + GL_FRAGMENT_LIGHT7_EXT 0x8413 + void glFragmentColorMaterialEXT (GLenum face, GLenum mode) + void glFragmentLightModelfEXT (GLenum pname, GLfloat param) + void glFragmentLightModelfvEXT (GLenum pname, GLfloat* params) + void glFragmentLightModeliEXT (GLenum pname, GLint param) + void glFragmentLightModelivEXT (GLenum pname, GLint* params) + void glFragmentLightfEXT (GLenum light, GLenum pname, GLfloat param) + void glFragmentLightfvEXT (GLenum light, GLenum pname, GLfloat* params) + void glFragmentLightiEXT (GLenum light, GLenum pname, GLint param) + void glFragmentLightivEXT (GLenum light, GLenum pname, GLint* params) + void glFragmentMaterialfEXT (GLenum face, GLenum pname, const GLfloat param) + void glFragmentMaterialfvEXT (GLenum face, GLenum pname, const GLfloat* params) + void glFragmentMaterialiEXT (GLenum face, GLenum pname, const GLint param) + void glFragmentMaterialivEXT (GLenum face, GLenum pname, const GLint* params) + void glGetFragmentLightfvEXT (GLenum light, GLenum pname, GLfloat* params) + void glGetFragmentLightivEXT (GLenum light, GLenum pname, GLint* params) + void glGetFragmentMaterialfvEXT (GLenum face, GLenum pname, const GLfloat* params) + void glGetFragmentMaterialivEXT (GLenum face, GLenum pname, const GLint* params) + void glLightEnviEXT (GLenum pname, GLint param) diff --git a/glext/GL_EXT_histogram b/glext/GL_EXT_histogram new file mode 100644 index 0000000..fdce07d --- /dev/null +++ b/glext/GL_EXT_histogram @@ -0,0 +1,25 @@ +GL_EXT_histogram +http://oss.sgi.com/projects/ogl-sample/registry/EXT/histogram.txt + GL_HISTOGRAM_EXT 0x8024 + GL_PROXY_HISTOGRAM_EXT 0x8025 + GL_HISTOGRAM_WIDTH_EXT 0x8026 + GL_HISTOGRAM_FORMAT_EXT 0x8027 + GL_HISTOGRAM_RED_SIZE_EXT 0x8028 + GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 + GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A + GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B + GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C + GL_HISTOGRAM_SINK_EXT 0x802D + GL_MINMAX_EXT 0x802E + GL_MINMAX_FORMAT_EXT 0x802F + GL_MINMAX_SINK_EXT 0x8030 + void glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void* values) + void glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat* params) + void glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint* params) + void glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void* values) + void glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat* params) + void glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint* params) + void glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) + void glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink) + void glResetHistogramEXT (GLenum target) + void glResetMinmaxEXT (GLenum target) diff --git a/glext/GL_EXT_index_array_formats b/glext/GL_EXT_index_array_formats new file mode 100644 index 0000000..570962a --- /dev/null +++ b/glext/GL_EXT_index_array_formats @@ -0,0 +1,2 @@ +GL_EXT_index_array_formats +http://oss.sgi.com/projects/ogl-sample/registry/EXT/index_array_formats.txt diff --git a/glext/GL_EXT_index_func b/glext/GL_EXT_index_func new file mode 100644 index 0000000..f839ee8 --- /dev/null +++ b/glext/GL_EXT_index_func @@ -0,0 +1,3 @@ +GL_EXT_index_func +http://oss.sgi.com/projects/ogl-sample/registry/EXT/index_func.txt + void glIndexFuncEXT (GLenum func, GLfloat ref) diff --git a/glext/GL_EXT_index_material b/glext/GL_EXT_index_material new file mode 100644 index 0000000..4a3374c --- /dev/null +++ b/glext/GL_EXT_index_material @@ -0,0 +1,3 @@ +GL_EXT_index_material +http://oss.sgi.com/projects/ogl-sample/registry/EXT/index_material.txt + void glIndexMaterialEXT (GLenum face, GLenum mode) diff --git a/glext/GL_EXT_index_texture b/glext/GL_EXT_index_texture new file mode 100644 index 0000000..d2130be --- /dev/null +++ b/glext/GL_EXT_index_texture @@ -0,0 +1,2 @@ +GL_EXT_index_texture +http://oss.sgi.com/projects/ogl-sample/registry/EXT/index_texture.txt diff --git a/glext/GL_EXT_light_texture b/glext/GL_EXT_light_texture new file mode 100644 index 0000000..0722d74 --- /dev/null +++ b/glext/GL_EXT_light_texture @@ -0,0 +1,15 @@ +GL_EXT_light_texture +http://oss.sgi.com/projects/ogl-sample/registry/EXT/light_texture.txt + GL_FRAGMENT_MATERIAL_EXT 0x8349 + GL_FRAGMENT_NORMAL_EXT 0x834A + GL_FRAGMENT_COLOR_EXT 0x834C + GL_ATTENUATION_EXT 0x834D + GL_SHADOW_ATTENUATION_EXT 0x834E + GL_TEXTURE_APPLICATION_MODE_EXT 0x834F + GL_TEXTURE_LIGHT_EXT 0x8350 + GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 + GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 + GL_FRAGMENT_DEPTH_EXT 0x8452 + void glApplyTextureEXT (GLenum mode) + void glTextureLightEXT (GLenum pname) + void glTextureMaterialEXT (GLenum face, GLenum mode) diff --git a/glext/GL_EXT_misc_attribute b/glext/GL_EXT_misc_attribute new file mode 100644 index 0000000..b6944ad --- /dev/null +++ b/glext/GL_EXT_misc_attribute @@ -0,0 +1,2 @@ +GL_EXT_misc_attribute +http://oss.sgi.com/projects/ogl-sample/registry/EXT/misc_attribute.txt diff --git a/glext/GL_EXT_multi_draw_arrays b/glext/GL_EXT_multi_draw_arrays new file mode 100644 index 0000000..9b0a189 --- /dev/null +++ b/glext/GL_EXT_multi_draw_arrays @@ -0,0 +1,4 @@ +GL_EXT_multi_draw_arrays +http://oss.sgi.com/projects/ogl-sample/registry/EXT/multi_draw_arrays.txt + void glMultiDrawArraysEXT (GLenum mode, GLint* first, GLsizei *count, GLsizei primcount) + void glMultiDrawElementsEXT (GLenum mode, GLsizei* count, GLenum type, const GLvoid **indices, GLsizei primcount) diff --git a/glext/GL_EXT_multisample b/glext/GL_EXT_multisample new file mode 100644 index 0000000..9c8fbbe --- /dev/null +++ b/glext/GL_EXT_multisample @@ -0,0 +1,21 @@ +GL_EXT_multisample +http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_multisample.txt + GL_MULTISAMPLE_EXT 0x809D + GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E + GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F + GL_SAMPLE_MASK_EXT 0x80A0 + GL_1PASS_EXT 0x80A1 + GL_2PASS_0_EXT 0x80A2 + GL_2PASS_1_EXT 0x80A3 + GL_4PASS_0_EXT 0x80A4 + GL_4PASS_1_EXT 0x80A5 + GL_4PASS_2_EXT 0x80A6 + GL_4PASS_3_EXT 0x80A7 + GL_SAMPLE_BUFFERS_EXT 0x80A8 + GL_SAMPLES_EXT 0x80A9 + GL_SAMPLE_MASK_VALUE_EXT 0x80AA + GL_SAMPLE_MASK_INVERT_EXT 0x80AB + GL_SAMPLE_PATTERN_EXT 0x80AC + GL_MULTISAMPLE_BIT_EXT 0x20000000 + void glSampleMaskEXT (GLclampf value, GLboolean invert) + void glSamplePatternEXT (GLenum pattern) diff --git a/glext/GL_EXT_packed_pixels b/glext/GL_EXT_packed_pixels new file mode 100644 index 0000000..72a8cbf --- /dev/null +++ b/glext/GL_EXT_packed_pixels @@ -0,0 +1,7 @@ +GL_EXT_packed_pixels +http://oss.sgi.com/projects/ogl-sample/registry/EXT/packed_pixels.txt + GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 + GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 + GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 + GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 + GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 diff --git a/glext/GL_EXT_paletted_texture b/glext/GL_EXT_paletted_texture new file mode 100644 index 0000000..ff0b69a --- /dev/null +++ b/glext/GL_EXT_paletted_texture @@ -0,0 +1,29 @@ +GL_EXT_paletted_texture +http://oss.sgi.com/projects/ogl-sample/registry/EXT/paletted_texture.txt + GL_TEXTURE_1D 0x0DE0 + GL_TEXTURE_2D 0x0DE1 + GL_PROXY_TEXTURE_1D 0x8063 + GL_PROXY_TEXTURE_2D 0x8064 + GL_TEXTURE_3D_EXT 0x806F + GL_PROXY_TEXTURE_3D_EXT 0x8070 + GL_COLOR_TABLE_FORMAT_EXT 0x80D8 + GL_COLOR_TABLE_WIDTH_EXT 0x80D9 + GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA + GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB + GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC + GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD + GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE + GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF + GL_COLOR_INDEX1_EXT 0x80E2 + GL_COLOR_INDEX2_EXT 0x80E3 + GL_COLOR_INDEX4_EXT 0x80E4 + GL_COLOR_INDEX8_EXT 0x80E5 + GL_COLOR_INDEX12_EXT 0x80E6 + GL_COLOR_INDEX16_EXT 0x80E7 + GL_TEXTURE_INDEX_SIZE_EXT 0x80ED + GL_TEXTURE_CUBE_MAP_ARB 0x8513 + GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B + void glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void* data) + void glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void* data) + void glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat* params) + void glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint* params) diff --git a/glext/GL_EXT_pixel_transform b/glext/GL_EXT_pixel_transform new file mode 100644 index 0000000..c8a7cc6 --- /dev/null +++ b/glext/GL_EXT_pixel_transform @@ -0,0 +1,17 @@ +GL_EXT_pixel_transform +http://oss.sgi.com/projects/ogl-sample/registry/EXT/pixel_transform.txt + GL_PIXEL_TRANSFORM_2D_EXT 0x8330 + GL_PIXEL_MAG_FILTER_EXT 0x8331 + GL_PIXEL_MIN_FILTER_EXT 0x8332 + GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 + GL_CUBIC_EXT 0x8334 + GL_AVERAGE_EXT 0x8335 + GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 + GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 + GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 + void glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat* params) + void glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint* params) + void glPixelTransformParameterfEXT (GLenum target, GLenum pname, const GLfloat param) + void glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat* params) + void glPixelTransformParameteriEXT (GLenum target, GLenum pname, const GLint param) + void glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint* params) diff --git a/glext/GL_EXT_pixel_transform_color_table b/glext/GL_EXT_pixel_transform_color_table new file mode 100644 index 0000000..f18d93a --- /dev/null +++ b/glext/GL_EXT_pixel_transform_color_table @@ -0,0 +1,2 @@ +GL_EXT_pixel_transform_color_table +http://oss.sgi.com/projects/ogl-sample/registry/EXT/pixel_transform_color_table.txt diff --git a/glext/GL_EXT_point_parameters b/glext/GL_EXT_point_parameters new file mode 100644 index 0000000..e94082a --- /dev/null +++ b/glext/GL_EXT_point_parameters @@ -0,0 +1,8 @@ +GL_EXT_point_parameters +http://oss.sgi.com/projects/ogl-sample/registry/EXT/point_parameters.txt + GL_POINT_SIZE_MIN_EXT 0x8126 + GL_POINT_SIZE_MAX_EXT 0x8127 + GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 + GL_DISTANCE_ATTENUATION_EXT 0x8129 + void glPointParameterfEXT (GLenum pname, GLfloat param) + void glPointParameterfvEXT (GLenum pname, GLfloat* params) diff --git a/glext/GL_EXT_polygon_offset b/glext/GL_EXT_polygon_offset new file mode 100644 index 0000000..226a6fe --- /dev/null +++ b/glext/GL_EXT_polygon_offset @@ -0,0 +1,6 @@ +GL_EXT_polygon_offset +http://oss.sgi.com/projects/ogl-sample/registry/EXT/polygon_offset.txt + GL_POLYGON_OFFSET_EXT 0x8037 + GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 + GL_POLYGON_OFFSET_BIAS_EXT 0x8039 + void glPolygonOffsetEXT (GLfloat factor, GLfloat bias) diff --git a/glext/GL_EXT_rescale_normal b/glext/GL_EXT_rescale_normal new file mode 100644 index 0000000..fc0e621 --- /dev/null +++ b/glext/GL_EXT_rescale_normal @@ -0,0 +1,2 @@ +GL_EXT_rescale_normal +http://oss.sgi.com/projects/ogl-sample/registry/EXT/rescale_normal.txt diff --git a/glext/GL_EXT_scene_marker b/glext/GL_EXT_scene_marker new file mode 100644 index 0000000..c824732 --- /dev/null +++ b/glext/GL_EXT_scene_marker @@ -0,0 +1,4 @@ +GL_EXT_scene_marker +http://oss.sgi.com/projects/ogl-sample/registry/EXT/scene_marker.txt + void glBeginSceneEXT (void) + void glEndSceneEXT (void) diff --git a/glext/GL_EXT_secondary_color b/glext/GL_EXT_secondary_color new file mode 100644 index 0000000..3d6ace7 --- /dev/null +++ b/glext/GL_EXT_secondary_color @@ -0,0 +1,26 @@ +GL_EXT_secondary_color +http://oss.sgi.com/projects/ogl-sample/registry/EXT/secondary_color.txt + GL_COLOR_SUM_EXT 0x8458 + GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 + GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A + GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B + GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C + GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D + GL_SECONDARY_COLOR_ARRAY_EXT 0x845E + void glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue) + void glSecondaryColor3bvEXT (const GLbyte *v) + void glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue) + void glSecondaryColor3dvEXT (const GLdouble *v) + void glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue) + void glSecondaryColor3fvEXT (const GLfloat *v) + void glSecondaryColor3iEXT (GLint red, GLint green, GLint blue) + void glSecondaryColor3ivEXT (const GLint *v) + void glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue) + void glSecondaryColor3svEXT (const GLshort *v) + void glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue) + void glSecondaryColor3ubvEXT (const GLubyte *v) + void glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue) + void glSecondaryColor3uivEXT (const GLuint *v) + void glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue) + void glSecondaryColor3usvEXT (const GLushort *v) + void glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) diff --git a/glext/GL_EXT_separate_specular_color b/glext/GL_EXT_separate_specular_color new file mode 100644 index 0000000..fc05fab --- /dev/null +++ b/glext/GL_EXT_separate_specular_color @@ -0,0 +1,5 @@ +GL_EXT_separate_specular_color +http://oss.sgi.com/projects/ogl-sample/registry/EXT/separate_specular_color.txt + GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 + GL_SINGLE_COLOR_EXT 0x81F9 + GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA diff --git a/glext/GL_EXT_shadow_funcs b/glext/GL_EXT_shadow_funcs new file mode 100644 index 0000000..d8537fa --- /dev/null +++ b/glext/GL_EXT_shadow_funcs @@ -0,0 +1,2 @@ +GL_EXT_shadow_funcs +http://oss.sgi.com/projects/ogl-sample/registry/EXT/shadow_funcs.txt diff --git a/glext/GL_EXT_shared_texture_palette b/glext/GL_EXT_shared_texture_palette new file mode 100644 index 0000000..26d97ae --- /dev/null +++ b/glext/GL_EXT_shared_texture_palette @@ -0,0 +1,3 @@ +GL_EXT_shared_texture_palette +http://oss.sgi.com/projects/ogl-sample/registry/EXT/shared_texture_palette.txt + GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB diff --git a/glext/GL_EXT_stencil_two_side b/glext/GL_EXT_stencil_two_side new file mode 100644 index 0000000..6489236 --- /dev/null +++ b/glext/GL_EXT_stencil_two_side @@ -0,0 +1,5 @@ +GL_EXT_stencil_two_side +http://oss.sgi.com/projects/ogl-sample/registry/EXT/stencil_two_side.txt + GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 + GL_ACTIVE_STENCIL_FACE_EXT 0x8911 + void glActiveStencilFaceEXT (GLenum face) diff --git a/glext/GL_EXT_stencil_wrap b/glext/GL_EXT_stencil_wrap new file mode 100644 index 0000000..b00009f --- /dev/null +++ b/glext/GL_EXT_stencil_wrap @@ -0,0 +1,4 @@ +GL_EXT_stencil_wrap +http://oss.sgi.com/projects/ogl-sample/registry/EXT/stencil_wrap.txt + GL_INCR_WRAP_EXT 0x8507 + GL_DECR_WRAP_EXT 0x8508 diff --git a/glext/GL_EXT_subtexture b/glext/GL_EXT_subtexture new file mode 100644 index 0000000..4b0ad8e --- /dev/null +++ b/glext/GL_EXT_subtexture @@ -0,0 +1,5 @@ +GL_EXT_subtexture +http://oss.sgi.com/projects/ogl-sample/registry/EXT/subtexture.txt + void glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels) + void glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) + void glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels) diff --git a/glext/GL_EXT_texture b/glext/GL_EXT_texture new file mode 100644 index 0000000..52ee93c --- /dev/null +++ b/glext/GL_EXT_texture @@ -0,0 +1,44 @@ +GL_EXT_texture +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture.txt + GL_ALPHA4_EXT 0x803B + GL_ALPHA8_EXT 0x803C + GL_ALPHA12_EXT 0x803D + GL_ALPHA16_EXT 0x803E + GL_LUMINANCE4_EXT 0x803F + GL_LUMINANCE8_EXT 0x8040 + GL_LUMINANCE12_EXT 0x8041 + GL_LUMINANCE16_EXT 0x8042 + GL_LUMINANCE4_ALPHA4_EXT 0x8043 + GL_LUMINANCE6_ALPHA2_EXT 0x8044 + GL_LUMINANCE8_ALPHA8_EXT 0x8045 + GL_LUMINANCE12_ALPHA4_EXT 0x8046 + GL_LUMINANCE12_ALPHA12_EXT 0x8047 + GL_LUMINANCE16_ALPHA16_EXT 0x8048 + GL_INTENSITY_EXT 0x8049 + GL_INTENSITY4_EXT 0x804A + GL_INTENSITY8_EXT 0x804B + GL_INTENSITY12_EXT 0x804C + GL_INTENSITY16_EXT 0x804D + GL_RGB2_EXT 0x804E + GL_RGB4_EXT 0x804F + GL_RGB5_EXT 0x8050 + GL_RGB8_EXT 0x8051 + GL_RGB10_EXT 0x8052 + GL_RGB12_EXT 0x8053 + GL_RGB16_EXT 0x8054 + GL_RGBA2_EXT 0x8055 + GL_RGBA4_EXT 0x8056 + GL_RGB5_A1_EXT 0x8057 + GL_RGBA8_EXT 0x8058 + GL_RGB10_A2_EXT 0x8059 + GL_RGBA12_EXT 0x805A + GL_RGBA16_EXT 0x805B + GL_TEXTURE_RED_SIZE_EXT 0x805C + GL_TEXTURE_GREEN_SIZE_EXT 0x805D + GL_TEXTURE_BLUE_SIZE_EXT 0x805E + GL_TEXTURE_ALPHA_SIZE_EXT 0x805F + GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 + GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 + GL_REPLACE_EXT 0x8062 + GL_PROXY_TEXTURE_1D_EXT 0x8063 + GL_PROXY_TEXTURE_2D_EXT 0x8064 diff --git a/glext/GL_EXT_texture3D b/glext/GL_EXT_texture3D new file mode 100644 index 0000000..c8d7ed0 --- /dev/null +++ b/glext/GL_EXT_texture3D @@ -0,0 +1,12 @@ +GL_EXT_texture3D +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture3D.txt + GL_PACK_SKIP_IMAGES_EXT 0x806B + GL_PACK_IMAGE_HEIGHT_EXT 0x806C + GL_UNPACK_SKIP_IMAGES_EXT 0x806D + GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E + GL_TEXTURE_3D_EXT 0x806F + GL_PROXY_TEXTURE_3D_EXT 0x8070 + GL_TEXTURE_DEPTH_EXT 0x8071 + GL_TEXTURE_WRAP_R_EXT 0x8072 + GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 + void glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels) diff --git a/glext/GL_EXT_texture_compression_s3tc b/glext/GL_EXT_texture_compression_s3tc new file mode 100644 index 0000000..f7066af --- /dev/null +++ b/glext/GL_EXT_texture_compression_s3tc @@ -0,0 +1,6 @@ +GL_EXT_texture_compression_s3tc +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_compression_s3tc.txt + GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 + GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 + GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 + GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 diff --git a/glext/GL_EXT_texture_cube_map b/glext/GL_EXT_texture_cube_map new file mode 100644 index 0000000..fa637c0 --- /dev/null +++ b/glext/GL_EXT_texture_cube_map @@ -0,0 +1,14 @@ +GL_EXT_texture_cube_map +http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_texture_cube_map.txt + GL_NORMAL_MAP_EXT 0x8511 + GL_REFLECTION_MAP_EXT 0x8512 + GL_TEXTURE_CUBE_MAP_EXT 0x8513 + GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 + GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 + GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 + GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 + GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 + GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 + GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A + GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B + GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C diff --git a/glext/GL_EXT_texture_edge_clamp b/glext/GL_EXT_texture_edge_clamp new file mode 100644 index 0000000..acbab38 --- /dev/null +++ b/glext/GL_EXT_texture_edge_clamp @@ -0,0 +1,3 @@ +GL_EXT_texture_edge_clamp +http://www.opengl.org/developers/documentation/Version1.2/1.2specs/texture_edge_clamp.txt + GL_CLAMP_TO_EDGE_EXT 0x812F diff --git a/glext/GL_EXT_texture_env b/glext/GL_EXT_texture_env new file mode 100644 index 0000000..b245226 --- /dev/null +++ b/glext/GL_EXT_texture_env @@ -0,0 +1,13 @@ +GL_EXT_texture_env +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_env.txt + GL_TEXTURE_ENV_MODE_ALPHA_EXT 0 + GL_TEXTURE_ENV_SHIFT_EXT 0 + GL_TEXTURE_ENV0_EXT 0 + GL_ENV_BLEND_EXT 0 + GL_ENV_REPLACE_EXT 0 + GL_ENV_ADD_EXT 0 + GL_ENV_COPY_EXT 0 + GL_ENV_REVERSE_SUBTRACT_EXT 0 + GL_ENV_REVERSE_BLEND_EXT 0 + GL_ENV_MODULATE_EXT 0 + GL_ENV_SUBTRACT_EXT 0 diff --git a/glext/GL_EXT_texture_env_add b/glext/GL_EXT_texture_env_add new file mode 100644 index 0000000..ffdc280 --- /dev/null +++ b/glext/GL_EXT_texture_env_add @@ -0,0 +1,2 @@ +GL_EXT_texture_env_add +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_env_add.txt diff --git a/glext/GL_EXT_texture_env_combine b/glext/GL_EXT_texture_env_combine new file mode 100644 index 0000000..023a88f --- /dev/null +++ b/glext/GL_EXT_texture_env_combine @@ -0,0 +1,23 @@ +GL_EXT_texture_env_combine +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_env_combine.txt + GL_COMBINE_EXT 0x8570 + GL_COMBINE_RGB_EXT 0x8571 + GL_COMBINE_ALPHA_EXT 0x8572 + GL_RGB_SCALE_EXT 0x8573 + GL_ADD_SIGNED_EXT 0x8574 + GL_INTERPOLATE_EXT 0x8575 + GL_CONSTANT_EXT 0x8576 + GL_PRIMARY_COLOR_EXT 0x8577 + GL_PREVIOUS_EXT 0x8578 + GL_SOURCE0_RGB_EXT 0x8580 + GL_SOURCE1_RGB_EXT 0x8581 + GL_SOURCE2_RGB_EXT 0x8582 + GL_SOURCE0_ALPHA_EXT 0x8588 + GL_SOURCE1_ALPHA_EXT 0x8589 + GL_SOURCE2_ALPHA_EXT 0x858A + GL_OPERAND0_RGB_EXT 0x8590 + GL_OPERAND1_RGB_EXT 0x8591 + GL_OPERAND2_RGB_EXT 0x8592 + GL_OPERAND0_ALPHA_EXT 0x8598 + GL_OPERAND1_ALPHA_EXT 0x8599 + GL_OPERAND2_ALPHA_EXT 0x859A diff --git a/glext/GL_EXT_texture_env_dot3 b/glext/GL_EXT_texture_env_dot3 new file mode 100644 index 0000000..5e08a3f --- /dev/null +++ b/glext/GL_EXT_texture_env_dot3 @@ -0,0 +1,4 @@ +GL_EXT_texture_env_dot3 +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_env_dot3.txt + GL_DOT3_RGB_EXT 0x8740 + GL_DOT3_RGBA_EXT 0x8741 diff --git a/glext/GL_EXT_texture_filter_anisotropic b/glext/GL_EXT_texture_filter_anisotropic new file mode 100644 index 0000000..c97c48f --- /dev/null +++ b/glext/GL_EXT_texture_filter_anisotropic @@ -0,0 +1,4 @@ +GL_EXT_texture_filter_anisotropic +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_filter_anisotropic.txt + GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE + GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF diff --git a/glext/GL_EXT_texture_lod_bias b/glext/GL_EXT_texture_lod_bias new file mode 100644 index 0000000..001000e --- /dev/null +++ b/glext/GL_EXT_texture_lod_bias @@ -0,0 +1,5 @@ +GL_EXT_texture_lod_bias +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_lod_bias.txt + GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD + GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 + GL_TEXTURE_LOD_BIAS_EXT 0x8501 diff --git a/glext/GL_EXT_texture_mirror_clamp b/glext/GL_EXT_texture_mirror_clamp new file mode 100644 index 0000000..a6a04d8 --- /dev/null +++ b/glext/GL_EXT_texture_mirror_clamp @@ -0,0 +1,5 @@ +GL_EXT_texture_mirror_clamp +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_mirror_clamp.txt + GL_MIRROR_CLAMP_EXT 0x8742 + GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 + GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 diff --git a/glext/GL_EXT_texture_object b/glext/GL_EXT_texture_object new file mode 100644 index 0000000..5e5edca --- /dev/null +++ b/glext/GL_EXT_texture_object @@ -0,0 +1,13 @@ +GL_EXT_texture_object +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_object.txt + GL_TEXTURE_PRIORITY_EXT 0x8066 + GL_TEXTURE_RESIDENT_EXT 0x8067 + GL_TEXTURE_1D_BINDING_EXT 0x8068 + GL_TEXTURE_2D_BINDING_EXT 0x8069 + GL_TEXTURE_3D_BINDING_EXT 0x806A + GLboolean glAreTexturesResidentEXT (GLsizei n, const GLuint* textures, GLboolean* residences) + void glBindTextureEXT (GLenum target, GLuint texture) + void glDeleteTexturesEXT (GLsizei n, const GLuint* textures) + void glGenTexturesEXT (GLsizei n, GLuint* textures) + GLboolean glIsTextureEXT (GLuint texture) + void glPrioritizeTexturesEXT (GLsizei n, const GLuint* textures, const GLclampf* priorities) diff --git a/glext/GL_EXT_texture_perturb_normal b/glext/GL_EXT_texture_perturb_normal new file mode 100644 index 0000000..f5bcb20 --- /dev/null +++ b/glext/GL_EXT_texture_perturb_normal @@ -0,0 +1,5 @@ +GL_EXT_texture_perturb_normal +http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_perturb_normal.txt + GL_PERTURB_EXT 0x85AE + GL_TEXTURE_NORMAL_EXT 0x85AF + void glTextureNormalEXT (GLenum mode) diff --git a/glext/GL_EXT_texture_rectangle b/glext/GL_EXT_texture_rectangle new file mode 100644 index 0000000..f11f498 --- /dev/null +++ b/glext/GL_EXT_texture_rectangle @@ -0,0 +1,6 @@ +GL_EXT_texture_rectangle +http://developer.apple.com/opengl/extensions/ext_texture_rectangle.html + GL_TEXTURE_RECTANGLE_EXT 0x84F5 + GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6 + GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7 + GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8 diff --git a/glext/GL_EXT_vertex_array b/glext/GL_EXT_vertex_array new file mode 100644 index 0000000..3869f07 --- /dev/null +++ b/glext/GL_EXT_vertex_array @@ -0,0 +1,44 @@ +GL_EXT_vertex_array +http://oss.sgi.com/projects/ogl-sample/registry/EXT/vertex_array.txt + GL_DOUBLE_EXT 0x140A + GL_VERTEX_ARRAY_EXT 0x8074 + GL_NORMAL_ARRAY_EXT 0x8075 + GL_COLOR_ARRAY_EXT 0x8076 + GL_INDEX_ARRAY_EXT 0x8077 + GL_TEXTURE_COORD_ARRAY_EXT 0x8078 + GL_EDGE_FLAG_ARRAY_EXT 0x8079 + GL_VERTEX_ARRAY_SIZE_EXT 0x807A + GL_VERTEX_ARRAY_TYPE_EXT 0x807B + GL_VERTEX_ARRAY_STRIDE_EXT 0x807C + GL_VERTEX_ARRAY_COUNT_EXT 0x807D + GL_NORMAL_ARRAY_TYPE_EXT 0x807E + GL_NORMAL_ARRAY_STRIDE_EXT 0x807F + GL_NORMAL_ARRAY_COUNT_EXT 0x8080 + GL_COLOR_ARRAY_SIZE_EXT 0x8081 + GL_COLOR_ARRAY_TYPE_EXT 0x8082 + GL_COLOR_ARRAY_STRIDE_EXT 0x8083 + GL_COLOR_ARRAY_COUNT_EXT 0x8084 + GL_INDEX_ARRAY_TYPE_EXT 0x8085 + GL_INDEX_ARRAY_STRIDE_EXT 0x8086 + GL_INDEX_ARRAY_COUNT_EXT 0x8087 + GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 + GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 + GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A + GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B + GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C + GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D + GL_VERTEX_ARRAY_POINTER_EXT 0x808E + GL_NORMAL_ARRAY_POINTER_EXT 0x808F + GL_COLOR_ARRAY_POINTER_EXT 0x8090 + GL_INDEX_ARRAY_POINTER_EXT 0x8091 + GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 + GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 + void glArrayElementEXT (GLint i) + void glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer) + void glDrawArraysEXT (GLenum mode, GLint first, GLsizei count) + void glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean* pointer) + void glGetPointervEXT (GLenum pname, void** params) + void glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void* pointer) + void glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void* pointer) + void glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer) + void glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer) diff --git a/glext/GL_EXT_vertex_shader b/glext/GL_EXT_vertex_shader new file mode 100644 index 0000000..9b68884 --- /dev/null +++ b/glext/GL_EXT_vertex_shader @@ -0,0 +1,155 @@ +GL_EXT_vertex_shader +http://oss.sgi.com/projects/ogl-sample/registry/EXT/vertex_shader.txt + GL_VERTEX_SHADER_EXT 0x8780 + GL_VERTEX_SHADER_BINDING_EXT 0x8781 + GL_OP_INDEX_EXT 0x8782 + GL_OP_NEGATE_EXT 0x8783 + GL_OP_DOT3_EXT 0x8784 + GL_OP_DOT4_EXT 0x8785 + GL_OP_MUL_EXT 0x8786 + GL_OP_ADD_EXT 0x8787 + GL_OP_MADD_EXT 0x8788 + GL_OP_FRAC_EXT 0x8789 + GL_OP_MAX_EXT 0x878A + GL_OP_MIN_EXT 0x878B + GL_OP_SET_GE_EXT 0x878C + GL_OP_SET_LT_EXT 0x878D + GL_OP_CLAMP_EXT 0x878E + GL_OP_FLOOR_EXT 0x878F + GL_OP_ROUND_EXT 0x8790 + GL_OP_EXP_BASE_2_EXT 0x8791 + GL_OP_LOG_BASE_2_EXT 0x8792 + GL_OP_POWER_EXT 0x8793 + GL_OP_RECIP_EXT 0x8794 + GL_OP_RECIP_SQRT_EXT 0x8795 + GL_OP_SUB_EXT 0x8796 + GL_OP_CROSS_PRODUCT_EXT 0x8797 + GL_OP_MULTIPLY_MATRIX_EXT 0x8798 + GL_OP_MOV_EXT 0x8799 + GL_OUTPUT_VERTEX_EXT 0x879A + GL_OUTPUT_COLOR0_EXT 0x879B + GL_OUTPUT_COLOR1_EXT 0x879C + GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D + GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E + GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F + GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 + GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 + GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 + GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 + GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 + GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 + GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 + GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 + GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 + GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 + GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA + GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB + GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC + GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD + GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE + GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF + GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 + GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 + GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 + GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 + GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 + GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 + GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 + GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 + GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 + GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 + GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA + GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB + GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC + GL_OUTPUT_FOG_EXT 0x87BD + GL_SCALAR_EXT 0x87BE + GL_VECTOR_EXT 0x87BF + GL_MATRIX_EXT 0x87C0 + GL_VARIANT_EXT 0x87C1 + GL_INVARIANT_EXT 0x87C2 + GL_LOCAL_CONSTANT_EXT 0x87C3 + GL_LOCAL_EXT 0x87C4 + GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 + GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 + GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 + GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 + GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 + GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA + GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB + GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CC + GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CD + GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE + GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF + GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 + GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 + GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 + GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 + GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 + GL_X_EXT 0x87D5 + GL_Y_EXT 0x87D6 + GL_Z_EXT 0x87D7 + GL_W_EXT 0x87D8 + GL_NEGATIVE_X_EXT 0x87D9 + GL_NEGATIVE_Y_EXT 0x87DA + GL_NEGATIVE_Z_EXT 0x87DB + GL_NEGATIVE_W_EXT 0x87DC + GL_ZERO_EXT 0x87DD + GL_ONE_EXT 0x87DE + GL_NEGATIVE_ONE_EXT 0x87DF + GL_NORMALIZED_RANGE_EXT 0x87E0 + GL_FULL_RANGE_EXT 0x87E1 + GL_CURRENT_VERTEX_EXT 0x87E2 + GL_MVP_MATRIX_EXT 0x87E3 + GL_VARIANT_VALUE_EXT 0x87E4 + GL_VARIANT_DATATYPE_EXT 0x87E5 + GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 + GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 + GL_VARIANT_ARRAY_EXT 0x87E8 + GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 + GL_INVARIANT_VALUE_EXT 0x87EA + GL_INVARIANT_DATATYPE_EXT 0x87EB + GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC + GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED + + void glBeginVertexShaderEXT (void) + void glEndVertexShaderEXT (void) + void glBindVertexShaderEXT (GLuint id) + GLuint glGenVertexShadersEXT (GLuint range) + void glDeleteVertexShaderEXT (GLuint id) + void glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1) + void glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2) + void glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3) + void glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) + void glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) + void glInsertComponentEXT (GLuint res, GLuint src, GLuint num) + void glExtractComponentEXT (GLuint res, GLuint src, GLuint num) + GLuint glGenSymbolsEXT (GLenum dataType, GLenum storageType, GLenum range, GLuint components) + void glSetInvariantEXT (GLuint id, GLenum type, GLvoid *addr) + void glSetLocalConstantEXT (GLuint id, GLenum type, GLvoid *addr) + void glVariantbvEXT (GLuint id, GLbyte *addr) + void glVariantsvEXT (GLuint id, GLshort *addr) + void glVariantivEXT (GLuint id, GLint *addr) + void glVariantfvEXT (GLuint id, GLfloat *addr) + void glVariantdvEXT (GLuint id, GLdouble *addr) + void glVariantubvEXT (GLuint id, GLubyte *addr) + void glVariantusvEXT (GLuint id, GLushort *addr) + void glVariantuivEXT (GLuint id, GLuint *addr) + void glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, GLvoid *addr) + void glEnableVariantClientStateEXT (GLuint id) + void glDisableVariantClientStateEXT (GLuint id) + GLuint glBindLightParameterEXT (GLenum light, GLenum value) + GLuint glBindMaterialParameterEXT (GLenum face, GLenum value) + GLuint glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value) + GLuint glBindTextureUnitParameterEXT (GLenum unit, GLenum value) + GLuint glBindParameterEXT (GLenum value) + GLboolean glIsVariantEnabledEXT (GLuint id, GLenum cap) + void glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) + void glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data) + void glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data) + void glGetVariantPointervEXT (GLuint id, GLenum value, GLvoid **data) + void glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) + void glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data) + void glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data) + void glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) + void glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data) + void glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data) diff --git a/glext/GL_EXT_vertex_weighting b/glext/GL_EXT_vertex_weighting new file mode 100644 index 0000000..b7ebec6 --- /dev/null +++ b/glext/GL_EXT_vertex_weighting @@ -0,0 +1,18 @@ +GL_EXT_vertex_weighting +http://oss.sgi.com/projects/ogl-sample/registry/EXT/vertex_weighting.txt + GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3 + GL_MODELVIEW0_MATRIX_EXT 0x0BA6 + GL_MODELVIEW0_EXT 0x1700 + GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 + GL_MODELVIEW1_MATRIX_EXT 0x8506 + GL_VERTEX_WEIGHTING_EXT 0x8509 + GL_MODELVIEW1_EXT 0x850A + GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B + GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C + GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D + GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E + GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F + GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 + void glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, void* pointer) + void glVertexWeightfEXT (GLfloat weight) + void glVertexWeightfvEXT (GLfloat* weight) diff --git a/glext/GL_HP_convolution_border_modes b/glext/GL_HP_convolution_border_modes new file mode 100644 index 0000000..d7b87cc --- /dev/null +++ b/glext/GL_HP_convolution_border_modes @@ -0,0 +1,2 @@ +GL_HP_convolution_border_modes +http://oss.sgi.com/projects/ogl-sample/registry/HP/convolution_border_modes.txt diff --git a/glext/GL_HP_image_transform b/glext/GL_HP_image_transform new file mode 100644 index 0000000..5aa4c75 --- /dev/null +++ b/glext/GL_HP_image_transform @@ -0,0 +1,8 @@ +GL_HP_image_transform +http://oss.sgi.com/projects/ogl-sample/registry/HP/image_transform.txt + void glGetImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat* params) + void glGetImageTransformParameterivHP (GLenum target, GLenum pname, const GLint* params) + void glImageTransformParameterfHP (GLenum target, GLenum pname, const GLfloat param) + void glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat* params) + void glImageTransformParameteriHP (GLenum target, GLenum pname, const GLint param) + void glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint* params) diff --git a/glext/GL_HP_occlusion_test b/glext/GL_HP_occlusion_test new file mode 100644 index 0000000..91a1bd9 --- /dev/null +++ b/glext/GL_HP_occlusion_test @@ -0,0 +1,4 @@ +GL_HP_occlusion_test +http://oss.sgi.com/projects/ogl-sample/registry/HP/occlusion_test.txt + GL_OCCLUSION_TEST_RESULT_HP 0x8166 + GL_OCCLUSION_TEST_HP 0x8165 diff --git a/glext/GL_HP_texture_lighting b/glext/GL_HP_texture_lighting new file mode 100644 index 0000000..92b3f96 --- /dev/null +++ b/glext/GL_HP_texture_lighting @@ -0,0 +1,2 @@ +GL_HP_texture_lighting +http://oss.sgi.com/projects/ogl-sample/registry/HP/texture_lighting.txt diff --git a/glext/GL_IBM_cull_vertex b/glext/GL_IBM_cull_vertex new file mode 100644 index 0000000..b669de5 --- /dev/null +++ b/glext/GL_IBM_cull_vertex @@ -0,0 +1,3 @@ +GL_IBM_cull_vertex +http://oss.sgi.com/projects/ogl-sample/registry/IBM/cull_vertex.txt + GL_CULL_VERTEX_IBM 103050 diff --git a/glext/GL_IBM_multimode_draw_arrays b/glext/GL_IBM_multimode_draw_arrays new file mode 100644 index 0000000..efce5e4 --- /dev/null +++ b/glext/GL_IBM_multimode_draw_arrays @@ -0,0 +1,4 @@ +GL_IBM_multimode_draw_arrays +http://oss.sgi.com/projects/ogl-sample/registry/IBM/multimode_draw_arrays.txt + void glMultiModeDrawArraysIBM (const GLenum* mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride) + void glMultiModeDrawElementsIBM (const GLenum* mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, GLint modestride) diff --git a/glext/GL_IBM_rasterpos_clip b/glext/GL_IBM_rasterpos_clip new file mode 100644 index 0000000..e9c8fcd --- /dev/null +++ b/glext/GL_IBM_rasterpos_clip @@ -0,0 +1,3 @@ +GL_IBM_rasterpos_clip +http://oss.sgi.com/projects/ogl-sample/registry/IBM/rasterpos_clip.txt + GL_RASTER_POSITION_UNCLIPPED_IBM 103010 diff --git a/glext/GL_IBM_static_data b/glext/GL_IBM_static_data new file mode 100644 index 0000000..ead7200 --- /dev/null +++ b/glext/GL_IBM_static_data @@ -0,0 +1,4 @@ +GL_IBM_static_data +http://oss.sgi.com/projects/ogl-sample/registry/IBM/static_data.txt + GL_ALL_STATIC_DATA_IBM 103060 + GL_STATIC_VERTEX_ARRAY_IBM 103061 diff --git a/glext/GL_IBM_texture_mirrored_repeat b/glext/GL_IBM_texture_mirrored_repeat new file mode 100644 index 0000000..f107359 --- /dev/null +++ b/glext/GL_IBM_texture_mirrored_repeat @@ -0,0 +1,3 @@ +GL_IBM_texture_mirrored_repeat +http://oss.sgi.com/projects/ogl-sample/registry/IBM/texture_mirrored_repeat.txt + GL_MIRRORED_REPEAT_IBM 0x8370 diff --git a/glext/GL_IBM_vertex_array_lists b/glext/GL_IBM_vertex_array_lists new file mode 100644 index 0000000..e61245c --- /dev/null +++ b/glext/GL_IBM_vertex_array_lists @@ -0,0 +1,26 @@ +GL_IBM_vertex_array_lists +http://oss.sgi.com/projects/ogl-sample/registry/IBM/vertex_array_lists.txt + GL_VERTEX_ARRAY_LIST_IBM 103070 + GL_NORMAL_ARRAY_LIST_IBM 103071 + GL_COLOR_ARRAY_LIST_IBM 103072 + GL_INDEX_ARRAY_LIST_IBM 103073 + GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 + GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 + GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 + GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 + GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 + GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 + GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 + GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 + GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 + GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 + GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 + GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 + void glColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) + void glEdgeFlagPointerListIBM (GLint stride, const GLboolean ** pointer, GLint ptrstride) + void glFogCoordPointerListIBM (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) + void glIndexPointerListIBM (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) + void glNormalPointerListIBM (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) + void glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) + void glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) + void glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) diff --git a/glext/GL_INGR_color_clamp b/glext/GL_INGR_color_clamp new file mode 100644 index 0000000..2bf0236 --- /dev/null +++ b/glext/GL_INGR_color_clamp @@ -0,0 +1,10 @@ +GL_INGR_color_clamp +http://oss.sgi.com/projects/ogl-sample/registry/INGR/color_clamp.txt + GL_RED_MIN_CLAMP_INGR 0x8560 + GL_GREEN_MIN_CLAMP_INGR 0x8561 + GL_BLUE_MIN_CLAMP_INGR 0x8562 + GL_ALPHA_MIN_CLAMP_INGR 0x8563 + GL_RED_MAX_CLAMP_INGR 0x8564 + GL_GREEN_MAX_CLAMP_INGR 0x8565 + GL_BLUE_MAX_CLAMP_INGR 0x8566 + GL_ALPHA_MAX_CLAMP_INGR 0x8567 diff --git a/glext/GL_INGR_interlace_read b/glext/GL_INGR_interlace_read new file mode 100644 index 0000000..63aada3 --- /dev/null +++ b/glext/GL_INGR_interlace_read @@ -0,0 +1,3 @@ +GL_INGR_interlace_read +http://oss.sgi.com/projects/ogl-sample/registry/INGR/interlace_read.txt + GL_INTERLACE_READ_INGR 0x8568 diff --git a/glext/GL_INTEL_parallel_arrays b/glext/GL_INTEL_parallel_arrays new file mode 100644 index 0000000..d619bb9 --- /dev/null +++ b/glext/GL_INTEL_parallel_arrays @@ -0,0 +1,11 @@ +GL_INTEL_parallel_arrays +http://oss.sgi.com/projects/ogl-sample/registry/INTEL/parallel_arrays.txt + GL_PARALLEL_ARRAYS_INTEL 0x83F4 + GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 + GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 + GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 + GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 + void glColorPointervINTEL (GLint size, GLenum type, const void** pointer) + void glNormalPointervINTEL (GLenum type, const void** pointer) + void glTexCoordPointervINTEL (GLint size, GLenum type, const void** pointer) + void glVertexPointervINTEL (GLint size, GLenum type, const void** pointer) diff --git a/glext/GL_INTEL_texture_scissor b/glext/GL_INTEL_texture_scissor new file mode 100644 index 0000000..a92c7e9 --- /dev/null +++ b/glext/GL_INTEL_texture_scissor @@ -0,0 +1,4 @@ +GL_INTEL_texture_scissor +http://oss.sgi.com/projects/ogl-sample/registry/INTEL/texture_scissor.txt + void glTexScissorFuncINTEL (GLenum target, GLenum lfunc, GLenum hfunc) + void glTexScissorINTEL (GLenum target, GLclampf tlow, GLclampf thigh) diff --git a/glext/GL_MESA_pack_invert b/glext/GL_MESA_pack_invert new file mode 100644 index 0000000..bfff9fc --- /dev/null +++ b/glext/GL_MESA_pack_invert @@ -0,0 +1,3 @@ +GL_MESA_pack_invert +http://oss.sgi.com/projects/ogl-sample/registry/MESA/pack_invert.txt + GL_PACK_INVERT_MESA 0x8758 diff --git a/glext/GL_MESA_resize_buffers b/glext/GL_MESA_resize_buffers new file mode 100644 index 0000000..07c1686 --- /dev/null +++ b/glext/GL_MESA_resize_buffers @@ -0,0 +1,3 @@ +GL_MESA_resize_buffers +http://oss.sgi.com/projects/ogl-sample/registry/MESA/resize_buffers.txt + void glResizeBuffersMESA (void) diff --git a/glext/GL_MESA_window_pos b/glext/GL_MESA_window_pos new file mode 100644 index 0000000..2185385 --- /dev/null +++ b/glext/GL_MESA_window_pos @@ -0,0 +1,26 @@ +GL_MESA_window_pos +http://oss.sgi.com/projects/ogl-sample/registry/MESA/window_pos.txt + void glWindowPos2dMESA (GLdouble x, GLdouble y) + void glWindowPos2dvMESA (const GLdouble* p) + void glWindowPos2fMESA (GLfloat x, GLfloat y) + void glWindowPos2fvMESA (const GLfloat* p) + void glWindowPos2iMESA (GLint x, GLint y) + void glWindowPos2ivMESA (const GLint* p) + void glWindowPos2sMESA (GLshort x, GLshort y) + void glWindowPos2svMESA (const GLshort* p) + void glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z) + void glWindowPos3dvMESA (const GLdouble* p) + void glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z) + void glWindowPos3fvMESA (const GLfloat* p) + void glWindowPos3iMESA (GLint x, GLint y, GLint z) + void glWindowPos3ivMESA (const GLint* p) + void glWindowPos3sMESA (GLshort x, GLshort y, GLshort z) + void glWindowPos3svMESA (const GLshort* p) + void glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble) + void glWindowPos4dvMESA (const GLdouble* p) + void glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glWindowPos4fvMESA (const GLfloat* p) + void glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w) + void glWindowPos4ivMESA (const GLint* p) + void glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w) + void glWindowPos4svMESA (const GLshort* p) diff --git a/glext/GL_MESA_ycbcr_texture b/glext/GL_MESA_ycbcr_texture new file mode 100644 index 0000000..452f461 --- /dev/null +++ b/glext/GL_MESA_ycbcr_texture @@ -0,0 +1,5 @@ +GL_MESA_ycbcr_texture +http://oss.sgi.com/projects/ogl-sample/registry/MESA/ycbcr_texture.txt + GL_UNSIGNED_SHORT_8_8_MESA 0x85BA + GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB + GL_YCBCR_MESA 0x8757 diff --git a/glext/GL_NV_blend_square b/glext/GL_NV_blend_square new file mode 100644 index 0000000..59a5c63 --- /dev/null +++ b/glext/GL_NV_blend_square @@ -0,0 +1,2 @@ +GL_NV_blend_square +http://oss.sgi.com/projects/ogl-sample/registry/NV/blend_square.txt diff --git a/glext/GL_NV_copy_depth_to_color b/glext/GL_NV_copy_depth_to_color new file mode 100644 index 0000000..2859d26 --- /dev/null +++ b/glext/GL_NV_copy_depth_to_color @@ -0,0 +1,4 @@ +GL_NV_copy_depth_to_color +http://oss.sgi.com/projects/ogl-sample/registry/NV/copy_depth_to_color.txt + GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E + GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F diff --git a/glext/GL_NV_depth_clamp b/glext/GL_NV_depth_clamp new file mode 100644 index 0000000..a9b174c --- /dev/null +++ b/glext/GL_NV_depth_clamp @@ -0,0 +1,3 @@ +GL_NV_depth_clamp +http://oss.sgi.com/projects/ogl-sample/registry/NV/depth_clamp.txt + GL_DEPTH_CLAMP_NV 0x864F diff --git a/glext/GL_NV_element_array b/glext/GL_NV_element_array new file mode 100644 index 0000000..03dde06 --- /dev/null +++ b/glext/GL_NV_element_array @@ -0,0 +1,9 @@ +GL_NV_element_array +http://developer.nvidia.com/docs/IO/3260/ATT/nv30specs.pdf + GL_ELEMENT_ARRAY_TYPE_NV 0x8769 + GL_ELEMENT_ARRAY_POINTER_NV 0x876A + void glElementPointerNV (GLenum type, const GLvoid *pointer) + void glDrawElementArrayNV (GLenum mode, GLint first, GLsizei count) + void glDrawRangeElementArrayNV (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count) + void glMultiDrawElementArrayNV (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount) + void glMultiDrawRangeElementArrayNV (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount) diff --git a/glext/GL_NV_evaluators b/glext/GL_NV_evaluators new file mode 100644 index 0000000..b53ea30 --- /dev/null +++ b/glext/GL_NV_evaluators @@ -0,0 +1,35 @@ +GL_NV_evaluators +http://oss.sgi.com/projects/ogl-sample/registry/NV/evaluators.txt + GL_EVAL_2D_NV 0x86C0 + GL_EVAL_TRIANGULAR_2D_NV 0x86C1 + GL_MAP_TESSELLATION_NV 0x86C2 + GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 + GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 + GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 + GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 + GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 + GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 + GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 + GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA + GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB + GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC + GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD + GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE + GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF + GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 + GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 + GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 + GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 + GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 + GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 + GL_MAX_MAP_TESSELLATION_NV 0x86D6 + GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 + void glEvalMapsNV (GLenum target, GLenum mode) + void glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat* params) + void glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint* params) + void glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void* points) + void glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat* params) + void glGetMapParameterivNV (GLenum target, GLenum pname, GLint* params) + void glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void* points) + void glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat* params) + void glMapParameterivNV (GLenum target, GLenum pname, const GLint* params) diff --git a/glext/GL_NV_fence b/glext/GL_NV_fence new file mode 100644 index 0000000..96f7d22 --- /dev/null +++ b/glext/GL_NV_fence @@ -0,0 +1,12 @@ +GL_NV_fence +http://oss.sgi.com/projects/ogl-sample/registry/NV/fence.txt + GL_ALL_COMPLETED_NV 0x84F2 + GL_FENCE_STATUS_NV 0x84F3 + GL_FENCE_CONDITION_NV 0x84F4 + void glDeleteFencesNV (GLsizei n, const GLuint* fences) + void glFinishFenceNV (GLuint fence) + void glGenFencesNV (GLsizei n, GLuint* fences) + void glGetFenceivNV (GLuint fence, GLenum pname, GLint* params) + GLboolean glIsFenceNV (GLuint fence) + void glSetFenceNV (GLuint fence, GLenum condition) + GLboolean glTestFenceNV (GLuint fence) diff --git a/glext/GL_NV_float_buffer b/glext/GL_NV_float_buffer new file mode 100644 index 0000000..ec93142 --- /dev/null +++ b/glext/GL_NV_float_buffer @@ -0,0 +1,17 @@ +GL_NV_float_buffer +http://oss.sgi.com/projects/ogl-sample/registry/NV/float_buffer.txt + GL_FLOAT_R_NV 0x8880 + GL_FLOAT_RG_NV 0x8881 + GL_FLOAT_RGB_NV 0x8882 + GL_FLOAT_RGBA_NV 0x8883 + GL_FLOAT_R16_NV 0x8884 + GL_FLOAT_R32_NV 0x8885 + GL_FLOAT_RG16_NV 0x8886 + GL_FLOAT_RG32_NV 0x8887 + GL_FLOAT_RGB16_NV 0x8888 + GL_FLOAT_RGB32_NV 0x8889 + GL_FLOAT_RGBA16_NV 0x888A + GL_FLOAT_RGBA32_NV 0x888B + GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C + GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D + GL_FLOAT_RGBA_MODE_NV 0x888E diff --git a/glext/GL_NV_fog_distance b/glext/GL_NV_fog_distance new file mode 100644 index 0000000..3fcdc13 --- /dev/null +++ b/glext/GL_NV_fog_distance @@ -0,0 +1,5 @@ +GL_NV_fog_distance +http://oss.sgi.com/projects/ogl-sample/registry/NV/fog_distance.txt + GL_FOG_DISTANCE_MODE_NV 0x855A + GL_EYE_RADIAL_NV 0x855B + GL_EYE_PLANE_ABSOLUTE_NV 0x855C diff --git a/glext/GL_NV_fragment_program b/glext/GL_NV_fragment_program new file mode 100644 index 0000000..20fe6a3 --- /dev/null +++ b/glext/GL_NV_fragment_program @@ -0,0 +1,14 @@ +GL_NV_fragment_program +http://oss.sgi.com/projects/ogl-sample/registry/NV/fragment_program.txt + GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 + GL_FRAGMENT_PROGRAM_NV 0x8870 + GL_MAX_TEXTURE_COORDS_NV 0x8871 + GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 + GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 + GL_PROGRAM_ERROR_STRING_NV 0x8874 + void glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte* name, GLdouble *params) + void glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte* name, GLfloat *params) + void glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte* name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) + void glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte* name, const GLdouble v[]) + void glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte* name, const GLfloat v[]) diff --git a/glext/GL_NV_half_float b/glext/GL_NV_half_float new file mode 100644 index 0000000..6502006 --- /dev/null +++ b/glext/GL_NV_half_float @@ -0,0 +1,50 @@ +GL_NV_half_float +http://oss.sgi.com/projects/ogl-sample/registry/NV/half_float.txt + GL_HALF_FLOAT_NV 0x140B + void glColor3hNV (GLuint red, GLuint green, GLuint blue) + void glColor3hvNV (const GLuint* v) + void glColor4hNV (GLuint red, GLuint green, GLuint blue, GLuint alpha) + void glColor4hvNV (const GLuint* v) + void glFogCoordhNV (GLuint fog) + void glFogCoordhvNV (const GLuint* fog) + void glMultiTexCoord1hNV (GLenum target, GLuint s) + void glMultiTexCoord1hvNV (GLenum target, const GLuint* v) + void glMultiTexCoord2hNV (GLenum target, GLuint s, GLuint t) + void glMultiTexCoord2hvNV (GLenum target, const GLuint* v) + void glMultiTexCoord3hNV (GLenum target, GLuint s, GLuint t, GLuint r) + void glMultiTexCoord3hvNV (GLenum target, const GLuint* v) + void glMultiTexCoord4hNV (GLenum target, GLuint s, GLuint t, GLuint r, GLuint q) + void glMultiTexCoord4hvNV (GLenum target, const GLuint* v) + void glNormal3hNV (GLuint nx, GLuint ny, GLuint nz) + void glNormal3hvNV (const GLuint* v) + void glSecondaryColor3hNV (GLuint red, GLuint green, GLuint blue) + void glSecondaryColor3hvNV (const GLuint* v) + void glTexCoord1hNV (GLuint s) + void glTexCoord1hvNV (const GLuint* v) + void glTexCoord2hNV (GLuint s, GLuint t) + void glTexCoord2hvNV (const GLuint* v) + void glTexCoord3hNV (GLuint s, GLuint t, GLuint r) + void glTexCoord3hvNV (const GLuint* v) + void glTexCoord4hNV (GLuint s, GLuint t, GLuint r, GLuint q) + void glTexCoord4hvNV (const GLuint* v) + void glVertex2hNV (GLuint x, GLuint y) + void glVertex2hvNV (const GLuint* v) + void glVertex3hNV (GLuint x, GLuint y, GLuint z) + void glVertex3hvNV (const GLuint* v) + void glVertex4hNV (GLuint x, GLuint y, GLuint z, GLuint w) + void glVertex4hvNV (const GLuint* v) + void glVertexAttrib1hNV (GLuint index, GLuint x) + void glVertexAttrib1hvNV (GLuint index, const GLuint* v) + void glVertexAttrib2hNV (GLuint index, GLuint x, GLuint y) + void glVertexAttrib2hvNV (GLuint index, const GLuint* v) + void glVertexAttrib3hNV (GLuint index, GLuint x, GLuint y, GLuint z) + void glVertexAttrib3hvNV (GLuint index, const GLuint* v) + void glVertexAttrib4hNV (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) + void glVertexAttrib4hvNV (GLuint index, const GLuint* v) + void glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLuint* v) + void glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLuint* v) + void glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLuint* v) + void glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLuint* v) + void glVertexWeighthNV (GLuint weight) + void glVertexWeighthvNV (const GLuint* weight) + typedef unsigned short GLhalf diff --git a/glext/GL_NV_light_max_exponent b/glext/GL_NV_light_max_exponent new file mode 100644 index 0000000..ff2d416 --- /dev/null +++ b/glext/GL_NV_light_max_exponent @@ -0,0 +1,4 @@ +GL_NV_light_max_exponent +http://oss.sgi.com/projects/ogl-sample/registry/NV/light_max_exponent.txt + GL_MAX_SHININESS_NV 0x8504 + GL_MAX_SPOT_EXPONENT_NV 0x8505 diff --git a/glext/GL_NV_multisample_filter_hint b/glext/GL_NV_multisample_filter_hint new file mode 100644 index 0000000..f1910b1 --- /dev/null +++ b/glext/GL_NV_multisample_filter_hint @@ -0,0 +1,3 @@ +GL_NV_multisample_filter_hint +http://oss.sgi.com/projects/ogl-sample/registry/NV/multisample_filter_hint.txt + GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 diff --git a/glext/GL_NV_occlusion_query b/glext/GL_NV_occlusion_query new file mode 100644 index 0000000..b9b7b1d --- /dev/null +++ b/glext/GL_NV_occlusion_query @@ -0,0 +1,13 @@ +GL_NV_occlusion_query +http://oss.sgi.com/projects/ogl-sample/registry/NV/occlusion_query.txt + GL_PIXEL_COUNTER_BITS_NV 0x8864 + GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 + GL_PIXEL_COUNT_NV 0x8866 + GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 + void glBeginOcclusionQueryNV (GLuint id) + void glDeleteOcclusionQueriesNV (GLsizei n, const GLuint* ids) + void glEndOcclusionQueryNV (void) + void glGenOcclusionQueriesNV (GLsizei n, GLuint* ids) + void glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint* params) + void glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint* params) + GLboolean glIsOcclusionQueryNV (GLuint id) diff --git a/glext/GL_NV_packed_depth_stencil b/glext/GL_NV_packed_depth_stencil new file mode 100644 index 0000000..b00adc3 --- /dev/null +++ b/glext/GL_NV_packed_depth_stencil @@ -0,0 +1,4 @@ +GL_NV_packed_depth_stencil +http://oss.sgi.com/projects/ogl-sample/registry/NV/packed_depth_stencil.txt + GL_DEPTH_STENCIL_NV 0x84F9 + GL_UNSIGNED_INT_24_8_NV 0x84FA diff --git a/glext/GL_NV_pixel_data_range b/glext/GL_NV_pixel_data_range new file mode 100644 index 0000000..509f113 --- /dev/null +++ b/glext/GL_NV_pixel_data_range @@ -0,0 +1,10 @@ +GL_NV_pixel_data_range +http://oss.sgi.com/projects/ogl-sample/registry/NV/pixel_data_range.txt + GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 + GL_READ_PIXEL_DATA_RANGE_NV 0x8879 + GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A + GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B + GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C + GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D + void glFlushPixelDataRangeNV (GLenum target) + void glPixelDataRangeNV (GLenum target, GLsizei length, void* pointer) diff --git a/glext/GL_NV_point_sprite b/glext/GL_NV_point_sprite new file mode 100644 index 0000000..0b2996f --- /dev/null +++ b/glext/GL_NV_point_sprite @@ -0,0 +1,7 @@ +GL_NV_point_sprite +http://oss.sgi.com/projects/ogl-sample/registry/NV/point_sprite.txt + GL_POINT_SPRITE_NV 0x8861 + GL_COORD_REPLACE_NV 0x8862 + GL_POINT_SPRITE_R_MODE_NV 0x8863 + void glPointParameteriNV (GLenum pname, GLint param) + void glPointParameterivNV (GLenum pname, const GLint* params) diff --git a/glext/GL_NV_primitive_restart b/glext/GL_NV_primitive_restart new file mode 100644 index 0000000..5d50360 --- /dev/null +++ b/glext/GL_NV_primitive_restart @@ -0,0 +1,6 @@ +GL_NV_primitive_restart +http://oss.sgi.com/projects/ogl-sample/registry/NV/primitive_restart.txt + GL_PRIMITIVE_RESTART_NV 0x8558 + GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 + void glPrimitiveRestartIndexNV (GLuint index) + void glPrimitiveRestartNV (void) diff --git a/glext/GL_NV_register_combiners b/glext/GL_NV_register_combiners new file mode 100644 index 0000000..c569619 --- /dev/null +++ b/glext/GL_NV_register_combiners @@ -0,0 +1,66 @@ +GL_NV_register_combiners +http://oss.sgi.com/projects/ogl-sample/registry/NV/register_combiners.txt + GL_REGISTER_COMBINERS_NV 0x8522 + GL_VARIABLE_A_NV 0x8523 + GL_VARIABLE_B_NV 0x8524 + GL_VARIABLE_C_NV 0x8525 + GL_VARIABLE_D_NV 0x8526 + GL_VARIABLE_E_NV 0x8527 + GL_VARIABLE_F_NV 0x8528 + GL_VARIABLE_G_NV 0x8529 + GL_CONSTANT_COLOR0_NV 0x852A + GL_CONSTANT_COLOR1_NV 0x852B + GL_PRIMARY_COLOR_NV 0x852C + GL_SECONDARY_COLOR_NV 0x852D + GL_SPARE0_NV 0x852E + GL_SPARE1_NV 0x852F + GL_DISCARD_NV 0x8530 + GL_E_TIMES_F_NV 0x8531 + GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 + GL_UNSIGNED_IDENTITY_NV 0x8536 + GL_UNSIGNED_INVERT_NV 0x8537 + GL_EXPAND_NORMAL_NV 0x8538 + GL_EXPAND_NEGATE_NV 0x8539 + GL_HALF_BIAS_NORMAL_NV 0x853A + GL_HALF_BIAS_NEGATE_NV 0x853B + GL_SIGNED_IDENTITY_NV 0x853C + GL_SIGNED_NEGATE_NV 0x853D + GL_SCALE_BY_TWO_NV 0x853E + GL_SCALE_BY_FOUR_NV 0x853F + GL_SCALE_BY_ONE_HALF_NV 0x8540 + GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 + GL_COMBINER_INPUT_NV 0x8542 + GL_COMBINER_MAPPING_NV 0x8543 + GL_COMBINER_COMPONENT_USAGE_NV 0x8544 + GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 + GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 + GL_COMBINER_MUX_SUM_NV 0x8547 + GL_COMBINER_SCALE_NV 0x8548 + GL_COMBINER_BIAS_NV 0x8549 + GL_COMBINER_AB_OUTPUT_NV 0x854A + GL_COMBINER_CD_OUTPUT_NV 0x854B + GL_COMBINER_SUM_OUTPUT_NV 0x854C + GL_MAX_GENERAL_COMBINERS_NV 0x854D + GL_NUM_GENERAL_COMBINERS_NV 0x854E + GL_COLOR_SUM_CLAMP_NV 0x854F + GL_COMBINER0_NV 0x8550 + GL_COMBINER1_NV 0x8551 + GL_COMBINER2_NV 0x8552 + GL_COMBINER3_NV 0x8553 + GL_COMBINER4_NV 0x8554 + GL_COMBINER5_NV 0x8555 + GL_COMBINER6_NV 0x8556 + GL_COMBINER7_NV 0x8557 + void glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) + void glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum) + void glCombinerParameterfNV (GLenum pname, GLfloat param) + void glCombinerParameterfvNV (GLenum pname, const GLfloat* params) + void glCombinerParameteriNV (GLenum pname, GLint param) + void glCombinerParameterivNV (GLenum pname, const GLint* params) + void glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) + void glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat* params) + void glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint* params) + void glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat* params) + void glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint* params) + void glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat* params) + void glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint* params) diff --git a/glext/GL_NV_register_combiners2 b/glext/GL_NV_register_combiners2 new file mode 100644 index 0000000..5073723 --- /dev/null +++ b/glext/GL_NV_register_combiners2 @@ -0,0 +1,5 @@ +GL_NV_register_combiners2 +http://oss.sgi.com/projects/ogl-sample/registry/NV/register_combiners2.txt + GL_PER_STAGE_CONSTANTS_NV 0x8535 + void glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat* params) + void glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat* params) diff --git a/glext/GL_NV_texgen_emboss b/glext/GL_NV_texgen_emboss new file mode 100644 index 0000000..f4f45b7 --- /dev/null +++ b/glext/GL_NV_texgen_emboss @@ -0,0 +1,5 @@ +GL_NV_texgen_emboss +http://oss.sgi.com/projects/ogl-sample/registry/NV/texgen_emboss.txt + GL_EMBOSS_LIGHT_NV 0x855D + GL_EMBOSS_CONSTANT_NV 0x855E + GL_EMBOSS_MAP_NV 0x855F diff --git a/glext/GL_NV_texgen_reflection b/glext/GL_NV_texgen_reflection new file mode 100644 index 0000000..0cfaab1 --- /dev/null +++ b/glext/GL_NV_texgen_reflection @@ -0,0 +1,4 @@ +GL_NV_texgen_reflection +http://oss.sgi.com/projects/ogl-sample/registry/NV/texgen_reflection.txt + GL_NORMAL_MAP_NV 0x8511 + GL_REFLECTION_MAP_NV 0x8512 diff --git a/glext/GL_NV_texture_compression_vtc b/glext/GL_NV_texture_compression_vtc new file mode 100644 index 0000000..c434b53 --- /dev/null +++ b/glext/GL_NV_texture_compression_vtc @@ -0,0 +1,2 @@ +GL_NV_texture_compression_vtc +http://oss.sgi.com/projects/ogl-sample/registry/NV/texture_compression_vtc.txt diff --git a/glext/GL_NV_texture_env_combine4 b/glext/GL_NV_texture_env_combine4 new file mode 100644 index 0000000..1f4e0d9 --- /dev/null +++ b/glext/GL_NV_texture_env_combine4 @@ -0,0 +1,7 @@ +GL_NV_texture_env_combine4 +http://oss.sgi.com/projects/ogl-sample/registry/NV/texture_env_combine4.txt + GL_COMBINE4_NV 0x8503 + GL_SOURCE3_RGB_NV 0x8583 + GL_SOURCE3_ALPHA_NV 0x858B + GL_OPERAND3_RGB_NV 0x8593 + GL_OPERAND3_ALPHA_NV 0x859B diff --git a/glext/GL_NV_texture_expand_normal b/glext/GL_NV_texture_expand_normal new file mode 100644 index 0000000..c3fa45e --- /dev/null +++ b/glext/GL_NV_texture_expand_normal @@ -0,0 +1,3 @@ +GL_NV_texture_expand_normal +http://oss.sgi.com/projects/ogl-sample/registry/NV/texture_expand_normal.txt + GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F diff --git a/glext/GL_NV_texture_rectangle b/glext/GL_NV_texture_rectangle new file mode 100644 index 0000000..d44e18b --- /dev/null +++ b/glext/GL_NV_texture_rectangle @@ -0,0 +1,6 @@ +GL_NV_texture_rectangle +http://oss.sgi.com/projects/ogl-sample/registry/NV/texture_rectangle.txt + GL_TEXTURE_RECTANGLE_NV 0x84F5 + GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 + GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 + GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 diff --git a/glext/GL_NV_texture_shader b/glext/GL_NV_texture_shader new file mode 100644 index 0000000..ea3542c --- /dev/null +++ b/glext/GL_NV_texture_shader @@ -0,0 +1,72 @@ +GL_NV_texture_shader +http://oss.sgi.com/projects/ogl-sample/registry/NV/texture_shader.txt + GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C + GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D + GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E + GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 + GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA + GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB + GL_DSDT_MAG_INTENSITY_NV 0x86DC + GL_SHADER_CONSISTENT_NV 0x86DD + GL_TEXTURE_SHADER_NV 0x86DE + GL_SHADER_OPERATION_NV 0x86DF + GL_CULL_MODES_NV 0x86E0 + GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 + GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 + GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 + GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 + GL_CONST_EYE_NV 0x86E5 + GL_PASS_THROUGH_NV 0x86E6 + GL_CULL_FRAGMENT_NV 0x86E7 + GL_OFFSET_TEXTURE_2D_NV 0x86E8 + GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 + GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA + GL_DOT_PRODUCT_NV 0x86EC + GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED + GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE + GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 + GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 + GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 + GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 + GL_HILO_NV 0x86F4 + GL_DSDT_NV 0x86F5 + GL_DSDT_MAG_NV 0x86F6 + GL_DSDT_MAG_VIB_NV 0x86F7 + GL_HILO16_NV 0x86F8 + GL_SIGNED_HILO_NV 0x86F9 + GL_SIGNED_HILO16_NV 0x86FA + GL_SIGNED_RGBA_NV 0x86FB + GL_SIGNED_RGBA8_NV 0x86FC + GL_SIGNED_RGB_NV 0x86FE + GL_SIGNED_RGB8_NV 0x86FF + GL_SIGNED_LUMINANCE_NV 0x8701 + GL_SIGNED_LUMINANCE8_NV 0x8702 + GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 + GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 + GL_SIGNED_ALPHA_NV 0x8705 + GL_SIGNED_ALPHA8_NV 0x8706 + GL_SIGNED_INTENSITY_NV 0x8707 + GL_SIGNED_INTENSITY8_NV 0x8708 + GL_DSDT8_NV 0x8709 + GL_DSDT8_MAG8_NV 0x870A + GL_DSDT8_MAG8_INTENSITY8_NV 0x870B + GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C + GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D + GL_HI_SCALE_NV 0x870E + GL_LO_SCALE_NV 0x870F + GL_DS_SCALE_NV 0x8710 + GL_DT_SCALE_NV 0x8711 + GL_MAGNITUDE_SCALE_NV 0x8712 + GL_VIBRANCE_SCALE_NV 0x8713 + GL_HI_BIAS_NV 0x8714 + GL_LO_BIAS_NV 0x8715 + GL_DS_BIAS_NV 0x8716 + GL_DT_BIAS_NV 0x8717 + GL_MAGNITUDE_BIAS_NV 0x8718 + GL_VIBRANCE_BIAS_NV 0x8719 + GL_TEXTURE_BORDER_VALUES_NV 0x871A + GL_TEXTURE_HI_SIZE_NV 0x871B + GL_TEXTURE_LO_SIZE_NV 0x871C + GL_TEXTURE_DS_SIZE_NV 0x871D + GL_TEXTURE_DT_SIZE_NV 0x871E + GL_TEXTURE_MAG_SIZE_NV 0x871F diff --git a/glext/GL_NV_texture_shader2 b/glext/GL_NV_texture_shader2 new file mode 100644 index 0000000..db68fad --- /dev/null +++ b/glext/GL_NV_texture_shader2 @@ -0,0 +1,30 @@ +GL_NV_texture_shader2 +http://oss.sgi.com/projects/ogl-sample/registry/NV/texture_shader2.txt + GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA + GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB + GL_DSDT_MAG_INTENSITY_NV 0x86DC + GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF + GL_HILO_NV 0x86F4 + GL_DSDT_NV 0x86F5 + GL_DSDT_MAG_NV 0x86F6 + GL_DSDT_MAG_VIB_NV 0x86F7 + GL_HILO16_NV 0x86F8 + GL_SIGNED_HILO_NV 0x86F9 + GL_SIGNED_HILO16_NV 0x86FA + GL_SIGNED_RGBA_NV 0x86FB + GL_SIGNED_RGBA8_NV 0x86FC + GL_SIGNED_RGB_NV 0x86FE + GL_SIGNED_RGB8_NV 0x86FF + GL_SIGNED_LUMINANCE_NV 0x8701 + GL_SIGNED_LUMINANCE8_NV 0x8702 + GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 + GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 + GL_SIGNED_ALPHA_NV 0x8705 + GL_SIGNED_ALPHA8_NV 0x8706 + GL_SIGNED_INTENSITY_NV 0x8707 + GL_SIGNED_INTENSITY8_NV 0x8708 + GL_DSDT8_NV 0x8709 + GL_DSDT8_MAG8_NV 0x870A + GL_DSDT8_MAG8_INTENSITY8_NV 0x870B + GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C + GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D diff --git a/glext/GL_NV_texture_shader3 b/glext/GL_NV_texture_shader3 new file mode 100644 index 0000000..2c4ee3d --- /dev/null +++ b/glext/GL_NV_texture_shader3 @@ -0,0 +1,19 @@ +GL_NV_texture_shader3 +http://oss.sgi.com/projects/ogl-sample/registry/NV/texture_shader3.txt + GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 + GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 + GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 + GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 + GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 + GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 + GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 + GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 + GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 + GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 + GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A + GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B + GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C + GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D + GL_HILO8_NV 0x885E + GL_SIGNED_HILO8_NV 0x885F + GL_FORCE_BLUE_TO_ONE_NV 0x8860 diff --git a/glext/GL_NV_vertex_array_range b/glext/GL_NV_vertex_array_range new file mode 100644 index 0000000..f280097 --- /dev/null +++ b/glext/GL_NV_vertex_array_range @@ -0,0 +1,9 @@ +GL_NV_vertex_array_range +http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt + GL_VERTEX_ARRAY_RANGE_NV 0x851D + GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E + GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F + GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 + GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 + void glFlushVertexArrayRangeNV (void) + void glVertexArrayRangeNV (GLsizei length, void* pointer) diff --git a/glext/GL_NV_vertex_array_range2 b/glext/GL_NV_vertex_array_range2 new file mode 100644 index 0000000..416a98a --- /dev/null +++ b/glext/GL_NV_vertex_array_range2 @@ -0,0 +1,3 @@ +GL_NV_vertex_array_range2 +http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range2.txt + GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 diff --git a/glext/GL_NV_vertex_program b/glext/GL_NV_vertex_program new file mode 100644 index 0000000..3863867 --- /dev/null +++ b/glext/GL_NV_vertex_program @@ -0,0 +1,149 @@ +GL_NV_vertex_program +http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_program.txt + GL_VERTEX_PROGRAM_NV 0x8620 + GL_VERTEX_STATE_PROGRAM_NV 0x8621 + GL_ATTRIB_ARRAY_SIZE_NV 0x8623 + GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 + GL_ATTRIB_ARRAY_TYPE_NV 0x8625 + GL_CURRENT_ATTRIB_NV 0x8626 + GL_PROGRAM_LENGTH_NV 0x8627 + GL_PROGRAM_STRING_NV 0x8628 + GL_MODELVIEW_PROJECTION_NV 0x8629 + GL_IDENTITY_NV 0x862A + GL_INVERSE_NV 0x862B + GL_TRANSPOSE_NV 0x862C + GL_INVERSE_TRANSPOSE_NV 0x862D + GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E + GL_MAX_TRACK_MATRICES_NV 0x862F + GL_MATRIX0_NV 0x8630 + GL_MATRIX1_NV 0x8631 + GL_MATRIX2_NV 0x8632 + GL_MATRIX3_NV 0x8633 + GL_MATRIX4_NV 0x8634 + GL_MATRIX5_NV 0x8635 + GL_MATRIX6_NV 0x8636 + GL_MATRIX7_NV 0x8637 + GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 + GL_CURRENT_MATRIX_NV 0x8641 + GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 + GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 + GL_PROGRAM_PARAMETER_NV 0x8644 + GL_ATTRIB_ARRAY_POINTER_NV 0x8645 + GL_PROGRAM_TARGET_NV 0x8646 + GL_PROGRAM_RESIDENT_NV 0x8647 + GL_TRACK_MATRIX_NV 0x8648 + GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 + GL_VERTEX_PROGRAM_BINDING_NV 0x864A + GL_PROGRAM_ERROR_POSITION_NV 0x864B + GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 + GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 + GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 + GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 + GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 + GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 + GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 + GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 + GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 + GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 + GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A + GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B + GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C + GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D + GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E + GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F + GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 + GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 + GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 + GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 + GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 + GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 + GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 + GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 + GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 + GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 + GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A + GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B + GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C + GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D + GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E + GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F + GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 + GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 + GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 + GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 + GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 + GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 + GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 + GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 + GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 + GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 + GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A + GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B + GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C + GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D + GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E + GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F + GLboolean glAreProgramsResidentNV (GLsizei n, const GLuint* ids, GLboolean *residences) + void glBindProgramNV (GLenum target, GLuint id) + void glDeleteProgramsNV (GLsizei n, const GLuint* ids) + void glExecuteProgramNV (GLenum target, GLuint id, const GLfloat* params) + void glGenProgramsNV (GLsizei n, GLuint* ids) + void glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble* params) + void glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat* params) + void glGetProgramStringNV (GLuint id, GLenum pname, GLubyte* program) + void glGetProgramivNV (GLuint id, GLenum pname, GLint* params) + void glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint* params) + void glGetVertexAttribPointervNV (GLuint index, GLenum pname, GLvoid** pointer) + void glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble* params) + void glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat* params) + void glGetVertexAttribivNV (GLuint index, GLenum pname, GLint* params) + GLboolean glIsProgramNV (GLuint id) + void glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte* program) + void glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) + void glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble* params) + void glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat* params) + void glProgramParameters4dvNV (GLenum target, GLuint index, GLuint num, const GLdouble* params) + void glProgramParameters4fvNV (GLenum target, GLuint index, GLuint num, const GLfloat* params) + void glRequestResidentProgramsNV (GLsizei n, GLuint* ids) + void glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform) + void glVertexAttrib1dNV (GLuint index, GLdouble x) + void glVertexAttrib1dvNV (GLuint index, const GLdouble* v) + void glVertexAttrib1fNV (GLuint index, GLfloat x) + void glVertexAttrib1fvNV (GLuint index, const GLfloat* v) + void glVertexAttrib1sNV (GLuint index, GLshort x) + void glVertexAttrib1svNV (GLuint index, const GLshort* v) + void glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y) + void glVertexAttrib2dvNV (GLuint index, const GLdouble* v) + void glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y) + void glVertexAttrib2fvNV (GLuint index, const GLfloat* v) + void glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y) + void glVertexAttrib2svNV (GLuint index, const GLshort* v) + void glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z) + void glVertexAttrib3dvNV (GLuint index, const GLdouble* v) + void glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z) + void glVertexAttrib3fvNV (GLuint index, const GLfloat* v) + void glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z) + void glVertexAttrib3svNV (GLuint index, const GLshort* v) + void glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) + void glVertexAttrib4dvNV (GLuint index, const GLdouble* v) + void glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glVertexAttrib4fvNV (GLuint index, const GLfloat* v) + void glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) + void glVertexAttrib4svNV (GLuint index, const GLshort* v) + void glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) + void glVertexAttrib4ubvNV (GLuint index, const GLubyte* v) + void glVertexAttribPointerNV (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer) + void glVertexAttribs1dvNV (GLuint index, GLsizei n, const GLdouble* v) + void glVertexAttribs1fvNV (GLuint index, GLsizei n, const GLfloat* v) + void glVertexAttribs1svNV (GLuint index, GLsizei n, const GLshort* v) + void glVertexAttribs2dvNV (GLuint index, GLsizei n, const GLdouble* v) + void glVertexAttribs2fvNV (GLuint index, GLsizei n, const GLfloat* v) + void glVertexAttribs2svNV (GLuint index, GLsizei n, const GLshort* v) + void glVertexAttribs3dvNV (GLuint index, GLsizei n, const GLdouble* v) + void glVertexAttribs3fvNV (GLuint index, GLsizei n, const GLfloat* v) + void glVertexAttribs3svNV (GLuint index, GLsizei n, const GLshort* v) + void glVertexAttribs4dvNV (GLuint index, GLsizei n, const GLdouble* v) + void glVertexAttribs4fvNV (GLuint index, GLsizei n, const GLfloat* v) + void glVertexAttribs4svNV (GLuint index, GLsizei n, const GLshort* v) + void glVertexAttribs4ubvNV (GLuint index, GLsizei n, const GLubyte* v) diff --git a/glext/GL_NV_vertex_program1_1 b/glext/GL_NV_vertex_program1_1 new file mode 100644 index 0000000..2f5cca4 --- /dev/null +++ b/glext/GL_NV_vertex_program1_1 @@ -0,0 +1,2 @@ +GL_NV_vertex_program1_1 +http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_program1_1.txt diff --git a/glext/GL_NV_vertex_program2 b/glext/GL_NV_vertex_program2 new file mode 100644 index 0000000..c20c0bd --- /dev/null +++ b/glext/GL_NV_vertex_program2 @@ -0,0 +1,2 @@ +GL_NV_vertex_program2 +http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_program2.txt diff --git a/glext/GL_OML_interlace b/glext/GL_OML_interlace new file mode 100644 index 0000000..2c77291 --- /dev/null +++ b/glext/GL_OML_interlace @@ -0,0 +1,4 @@ +GL_OML_interlace +http://oss.sgi.com/projects/ogl-sample/registry/OML/interlace.txt + GL_INTERLACE_OML 0x8980 + GL_INTERLACE_READ_OML 0x8981 diff --git a/glext/GL_OML_resample b/glext/GL_OML_resample new file mode 100644 index 0000000..66ddb3f --- /dev/null +++ b/glext/GL_OML_resample @@ -0,0 +1,8 @@ +GL_OML_resample +http://oss.sgi.com/projects/ogl-sample/registry/OML/resample.txt + GL_PACK_RESAMPLE_OML 0x8984 + GL_UNPACK_RESAMPLE_OML 0x8985 + GL_RESAMPLE_REPLICATE_OML 0x8986 + GL_RESAMPLE_ZERO_FILL_OML 0x8987 + GL_RESAMPLE_AVERAGE_OML 0x8988 + GL_RESAMPLE_DECIMATE_OML 0x8989 diff --git a/glext/GL_OML_subsample b/glext/GL_OML_subsample new file mode 100644 index 0000000..7f04411 --- /dev/null +++ b/glext/GL_OML_subsample @@ -0,0 +1,4 @@ +GL_OML_subsample +http://oss.sgi.com/projects/ogl-sample/registry/OML/subsample.txt + GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 + GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 diff --git a/glext/GL_PGI_misc_hints b/glext/GL_PGI_misc_hints new file mode 100644 index 0000000..8b2e088 --- /dev/null +++ b/glext/GL_PGI_misc_hints @@ -0,0 +1,22 @@ +GL_PGI_misc_hints +http://oss.sgi.com/projects/ogl-sample/registry/PGI/misc_hints.txt + GL_PREFER_DOUBLEBUFFER_HINT_PGI 107000 + GL_CONSERVE_MEMORY_HINT_PGI 107005 + GL_RECLAIM_MEMORY_HINT_PGI 107006 + GL_NATIVE_GRAPHICS_HANDLE_PGI 107010 + GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 107011 + GL_NATIVE_GRAPHICS_END_HINT_PGI 107012 + GL_ALWAYS_FAST_HINT_PGI 107020 + GL_ALWAYS_SOFT_HINT_PGI 107021 + GL_ALLOW_DRAW_OBJ_HINT_PGI 107022 + GL_ALLOW_DRAW_WIN_HINT_PGI 107023 + GL_ALLOW_DRAW_FRG_HINT_PGI 107024 + GL_ALLOW_DRAW_MEM_HINT_PGI 107025 + GL_STRICT_DEPTHFUNC_HINT_PGI 107030 + GL_STRICT_LIGHTING_HINT_PGI 107031 + GL_STRICT_SCISSOR_HINT_PGI 107032 + GL_FULL_STIPPLE_HINT_PGI 107033 + GL_CLIP_NEAR_HINT_PGI 107040 + GL_CLIP_FAR_HINT_PGI 107041 + GL_WIDE_LINE_HINT_PGI 107042 + GL_BACK_NORMALS_HINT_PGI 107043 diff --git a/glext/GL_PGI_vertex_hints b/glext/GL_PGI_vertex_hints new file mode 100644 index 0000000..9e3ca75 --- /dev/null +++ b/glext/GL_PGI_vertex_hints @@ -0,0 +1,24 @@ +GL_PGI_vertex_hints +http://oss.sgi.com/projects/ogl-sample/registry/PGI/vertex_hints.txt + GL_VERTEX23_BIT_PGI 0x00000004 + GL_VERTEX4_BIT_PGI 0x00000008 + GL_COLOR3_BIT_PGI 0x00010000 + GL_COLOR4_BIT_PGI 0x00020000 + GL_EDGEFLAG_BIT_PGI 0x00040000 + GL_INDEX_BIT_PGI 0x00080000 + GL_MAT_AMBIENT_BIT_PGI 0x00100000 + GL_VERTEX_DATA_HINT_PGI 107050 + GL_VERTEX_CONSISTENT_HINT_PGI 107051 + GL_MATERIAL_SIDE_HINT_PGI 107052 + GL_MAX_VERTEX_HINT_PGI 107053 + GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 + GL_MAT_DIFFUSE_BIT_PGI 0x00400000 + GL_MAT_EMISSION_BIT_PGI 0x00800000 + GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 + GL_MAT_SHININESS_BIT_PGI 0x02000000 + GL_MAT_SPECULAR_BIT_PGI 0x04000000 + GL_NORMAL_BIT_PGI 0x08000000 + GL_TEXCOORD1_BIT_PGI 0x10000000 + GL_TEXCOORD2_BIT_PGI 0x20000000 + GL_TEXCOORD3_BIT_PGI 0x40000000 + GL_TEXCOORD4_BIT_PGI 0x80000000 diff --git a/glext/GL_REND_screen_coordinates b/glext/GL_REND_screen_coordinates new file mode 100644 index 0000000..a22c943 --- /dev/null +++ b/glext/GL_REND_screen_coordinates @@ -0,0 +1,4 @@ +GL_REND_screen_coordinates +http://oss.sgi.com/projects/ogl-sample/registry/REND/screen_coordinates.txt + GL_SCREEN_COORDINATES_REND 0x8490 + GL_INVERTED_SCREEN_W_REND 0x8491 diff --git a/glext/GL_S3_s3tc b/glext/GL_S3_s3tc new file mode 100644 index 0000000..fdf1920 --- /dev/null +++ b/glext/GL_S3_s3tc @@ -0,0 +1,8 @@ +GL_S3_s3tc +http://oss.sgi.com/projects/ogl-sample/registry/S3/s3tc.txt + GL_RGB_S3TC 0x83A0 + GL_RGB4_S3TC 0x83A1 + GL_RGBA_S3TC 0x83A2 + GL_RGBA4_S3TC 0x83A3 + GL_RGBA_DXT5_S3TC 0x83A4 + GL_RGBA4_DXT5_S3TC 0x83A5 diff --git a/glext/GL_SGIS_color_range b/glext/GL_SGIS_color_range new file mode 100644 index 0000000..32ff54c --- /dev/null +++ b/glext/GL_SGIS_color_range @@ -0,0 +1,20 @@ +GL_SGIS_color_range +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/color_range.txt + GLX_MIN_GREEN_SGIS 0 + GLX_MIN_RED_SGIS 0 + GLX_EXTENDED_RANGE_SGIS 0 + GLX_MAX_ALPHA_SGIS 0 + GLX_MIN_BLUE_SGIS 0 + GLX_MAX_BLUE_SGIS 0 + GLX_MAX_GREEN_SGIS 0 + GLX_MIN_ALPHA_SGIS 0 + GLX_MAX_RED_SGIS 0 + GL_EXTENDED_RANGE_SGIS 0x85A5 + GL_MIN_RED_SGIS 0x85A6 + GL_MAX_RED_SGIS 0x85A7 + GL_MIN_GREEN_SGIS 0x85A8 + GL_MAX_GREEN_SGIS 0x85A9 + GL_MIN_BLUE_SGIS 0x85AA + GL_MAX_BLUE_SGIS 0x85AB + GL_MIN_ALPHA_SGIS 0x85AC + GL_MAX_ALPHA_SGIS 0x85AD diff --git a/glext/GL_SGIS_detail_texture b/glext/GL_SGIS_detail_texture new file mode 100644 index 0000000..9a8bbf8 --- /dev/null +++ b/glext/GL_SGIS_detail_texture @@ -0,0 +1,4 @@ +GL_SGIS_detail_texture +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/detail_texture.txt + void glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat* points) + void glGetDetailTexFuncSGIS (GLenum target, GLfloat* points) diff --git a/glext/GL_SGIS_fog_function b/glext/GL_SGIS_fog_function new file mode 100644 index 0000000..fbc1bbe --- /dev/null +++ b/glext/GL_SGIS_fog_function @@ -0,0 +1,4 @@ +GL_SGIS_fog_function +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/fog_func.txt + void glFogFuncSGIS (GLsizei n, const GLfloat* points) + void glGetFogFuncSGIS (GLfloat* points) diff --git a/glext/GL_SGIS_generate_mipmap b/glext/GL_SGIS_generate_mipmap new file mode 100644 index 0000000..abc9e10 --- /dev/null +++ b/glext/GL_SGIS_generate_mipmap @@ -0,0 +1,4 @@ +GL_SGIS_generate_mipmap +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/generate_mipmap.txt + GL_GENERATE_MIPMAP_SGIS 0x8191 + GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 diff --git a/glext/GL_SGIS_multisample b/glext/GL_SGIS_multisample new file mode 100644 index 0000000..3729bea --- /dev/null +++ b/glext/GL_SGIS_multisample @@ -0,0 +1,23 @@ +GL_SGIS_multisample +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/multisample.txt + GL_MULTISAMPLE_SGIS 0x809D + GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E + GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F + GL_SAMPLE_MASK_SGIS 0x80A0 + GL_1PASS_SGIS 0x80A1 + GL_2PASS_0_SGIS 0x80A2 + GL_2PASS_1_SGIS 0x80A3 + GL_4PASS_0_SGIS 0x80A4 + GL_4PASS_1_SGIS 0x80A5 + GL_4PASS_2_SGIS 0x80A6 + GL_4PASS_3_SGIS 0x80A7 + GL_SAMPLE_BUFFERS_SGIS 0x80A8 + GL_SAMPLES_SGIS 0x80A9 + GL_SAMPLE_MASK_VALUE_SGIS 0x80AA + GL_SAMPLE_MASK_INVERT_SGIS 0x80AB + GL_SAMPLE_PATTERN_SGIS 0x80AC + GLX_SAMPLE_BUFFERS_SGIS 100000 + GLX_SAMPLES_SGIS 100001 + GL_MULTISAMPLE_BIT_EXT 0x20000000 + void glSampleMaskSGIS (GLclampf value, GLboolean invert) + void glSamplePatternSGIS (GLenum pattern) diff --git a/glext/GL_SGIS_pixel_texture b/glext/GL_SGIS_pixel_texture new file mode 100644 index 0000000..0c7ba8d --- /dev/null +++ b/glext/GL_SGIS_pixel_texture @@ -0,0 +1,2 @@ +GL_SGIS_pixel_texture +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/pixel_texture.txt diff --git a/glext/GL_SGIS_sharpen_texture b/glext/GL_SGIS_sharpen_texture new file mode 100644 index 0000000..431a48f --- /dev/null +++ b/glext/GL_SGIS_sharpen_texture @@ -0,0 +1,4 @@ +GL_SGIS_sharpen_texture +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/sharpen_texture.txt + void glGetSharpenTexFuncSGIS (GLenum target, GLfloat* points) + void glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat* points) diff --git a/glext/GL_SGIS_texture4D b/glext/GL_SGIS_texture4D new file mode 100644 index 0000000..5edc751 --- /dev/null +++ b/glext/GL_SGIS_texture4D @@ -0,0 +1,4 @@ +GL_SGIS_texture4D +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/texture4D.txt + void glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLint border, GLenum format, GLenum type, const void* pixels) + void glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLenum format, GLenum type, const void* pixels) diff --git a/glext/GL_SGIS_texture_border_clamp b/glext/GL_SGIS_texture_border_clamp new file mode 100644 index 0000000..f120c10 --- /dev/null +++ b/glext/GL_SGIS_texture_border_clamp @@ -0,0 +1,3 @@ +GL_SGIS_texture_border_clamp +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/texture_border_clamp.txt + GL_CLAMP_TO_BORDER_SGIS 0x812D diff --git a/glext/GL_SGIS_texture_edge_clamp b/glext/GL_SGIS_texture_edge_clamp new file mode 100644 index 0000000..72a5fe4 --- /dev/null +++ b/glext/GL_SGIS_texture_edge_clamp @@ -0,0 +1,3 @@ +GL_SGIS_texture_edge_clamp +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/texture_edge_clamp.txt + GL_CLAMP_TO_EDGE_SGIS 0x812F diff --git a/glext/GL_SGIS_texture_filter4 b/glext/GL_SGIS_texture_filter4 new file mode 100644 index 0000000..513fa54 --- /dev/null +++ b/glext/GL_SGIS_texture_filter4 @@ -0,0 +1,4 @@ +GL_SGIS_texture_filter4 +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/texture_filter4.txt + void glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat* weights) + void glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat* weights) diff --git a/glext/GL_SGIS_texture_lod b/glext/GL_SGIS_texture_lod new file mode 100644 index 0000000..0d32514 --- /dev/null +++ b/glext/GL_SGIS_texture_lod @@ -0,0 +1,6 @@ +GL_SGIS_texture_lod +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/texture_lod.txt + GL_TEXTURE_MIN_LOD_SGIS 0x813A + GL_TEXTURE_MAX_LOD_SGIS 0x813B + GL_TEXTURE_BASE_LEVEL_SGIS 0x813C + GL_TEXTURE_MAX_LEVEL_SGIS 0x813D diff --git a/glext/GL_SGIS_texture_select b/glext/GL_SGIS_texture_select new file mode 100644 index 0000000..a5b69b1 --- /dev/null +++ b/glext/GL_SGIS_texture_select @@ -0,0 +1,2 @@ +GL_SGIS_texture_select +http://oss.sgi.com/projects/ogl-sample/registry/SGIS/texture_select.txt diff --git a/glext/GL_SGIX_async b/glext/GL_SGIX_async new file mode 100644 index 0000000..efe896e --- /dev/null +++ b/glext/GL_SGIX_async @@ -0,0 +1,9 @@ +GL_SGIX_async +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/async.txt + GL_ASYNC_MARKER_SGIX 0x8329 + void glAsyncMarkerSGIX (GLuint marker) + void glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range) + GLint glFinishAsyncSGIX (GLuint* markerp) + GLuint glGenAsyncMarkersSGIX (GLsizei range) + GLboolean glIsAsyncMarkerSGIX (GLuint marker) + GLint glPollAsyncSGIX (GLuint* markerp) diff --git a/glext/GL_SGIX_async_histogram b/glext/GL_SGIX_async_histogram new file mode 100644 index 0000000..2601762 --- /dev/null +++ b/glext/GL_SGIX_async_histogram @@ -0,0 +1,4 @@ +GL_SGIX_async_histogram +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/async_histogram.txt + GL_ASYNC_HISTOGRAM_SGIX 0x832C + GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D diff --git a/glext/GL_SGIX_async_pixel b/glext/GL_SGIX_async_pixel new file mode 100644 index 0000000..ef42939 --- /dev/null +++ b/glext/GL_SGIX_async_pixel @@ -0,0 +1,8 @@ +GL_SGIX_async_pixel +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/async_pixel.txt + GL_ASYNC_TEX_IMAGE_SGIX 0x835C + GL_ASYNC_DRAW_PIXELS_SGIX 0x835D + GL_ASYNC_READ_PIXELS_SGIX 0x835E + GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F + GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 + GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 diff --git a/glext/GL_SGIX_blend_alpha_minmax b/glext/GL_SGIX_blend_alpha_minmax new file mode 100644 index 0000000..2ae49dc --- /dev/null +++ b/glext/GL_SGIX_blend_alpha_minmax @@ -0,0 +1,4 @@ +GL_SGIX_blend_alpha_minmax +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/blend_alpha_minmax.txt + GL_ALPHA_MIN_SGIX 0x8320 + GL_ALPHA_MAX_SGIX 0x8321 diff --git a/glext/GL_SGIX_clipmap b/glext/GL_SGIX_clipmap new file mode 100644 index 0000000..fc7a748 --- /dev/null +++ b/glext/GL_SGIX_clipmap @@ -0,0 +1,2 @@ +GL_SGIX_clipmap +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/clipmap.txt diff --git a/glext/GL_SGIX_depth_texture b/glext/GL_SGIX_depth_texture new file mode 100644 index 0000000..66c2cb0 --- /dev/null +++ b/glext/GL_SGIX_depth_texture @@ -0,0 +1,5 @@ +GL_SGIX_depth_texture +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/depth_texture.txt + GL_DEPTH_COMPONENT16_SGIX 0x81A5 + GL_DEPTH_COMPONENT24_SGIX 0x81A6 + GL_DEPTH_COMPONENT32_SGIX 0x81A7 diff --git a/glext/GL_SGIX_flush_raster b/glext/GL_SGIX_flush_raster new file mode 100644 index 0000000..cfdf16e --- /dev/null +++ b/glext/GL_SGIX_flush_raster @@ -0,0 +1,3 @@ +GL_SGIX_flush_raster +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/flush_raster.txt + void glFlushRasterSGIX (void) diff --git a/glext/GL_SGIX_fog_offset b/glext/GL_SGIX_fog_offset new file mode 100644 index 0000000..a924922 --- /dev/null +++ b/glext/GL_SGIX_fog_offset @@ -0,0 +1,4 @@ +GL_SGIX_fog_offset +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/fog_offset.txt + GL_FOG_OFFSET_SGIX 0x8198 + GL_FOG_OFFSET_VALUE_SGIX 0x8199 diff --git a/glext/GL_SGIX_fog_texture b/glext/GL_SGIX_fog_texture new file mode 100644 index 0000000..8684434 --- /dev/null +++ b/glext/GL_SGIX_fog_texture @@ -0,0 +1,6 @@ +GL_SGIX_fog_texture +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/fog_texture.txt + GL_TEXTURE_FOG_SGIX 0 + GL_FOG_PATCHY_FACTOR_SGIX 0 + GL_FRAGMENT_FOG_SGIX 0 + void glTextureFogSGIX (GLenum pname) diff --git a/glext/GL_SGIX_fragment_specular_lighting b/glext/GL_SGIX_fragment_specular_lighting new file mode 100644 index 0000000..95d06cd --- /dev/null +++ b/glext/GL_SGIX_fragment_specular_lighting @@ -0,0 +1,19 @@ +GL_SGIX_fragment_specular_lighting +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/fragment_specular_lighting.txt + void glFragmentColorMaterialSGIX (GLenum face, GLenum mode) + void glFragmentLightModelfSGIX (GLenum pname, GLfloat param) + void glFragmentLightModelfvSGIX (GLenum pname, GLfloat* params) + void glFragmentLightModeliSGIX (GLenum pname, GLint param) + void glFragmentLightModelivSGIX (GLenum pname, GLint* params) + void glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param) + void glFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat* params) + void glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param) + void glFragmentLightivSGIX (GLenum light, GLenum pname, GLint* params) + void glFragmentMaterialfSGIX (GLenum face, GLenum pname, const GLfloat param) + void glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat* params) + void glFragmentMaterialiSGIX (GLenum face, GLenum pname, const GLint param) + void glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint* params) + void glGetFragmentLightfvSGIX (GLenum light, GLenum value, GLfloat* data) + void glGetFragmentLightivSGIX (GLenum light, GLenum value, GLint* data) + void glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat* data) + void glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint* data) diff --git a/glext/GL_SGIX_framezoom b/glext/GL_SGIX_framezoom new file mode 100644 index 0000000..f603e5a --- /dev/null +++ b/glext/GL_SGIX_framezoom @@ -0,0 +1,3 @@ +GL_SGIX_framezoom +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/framezoom.txt + void glFrameZoomSGIX (GLint factor) diff --git a/glext/GL_SGIX_interlace b/glext/GL_SGIX_interlace new file mode 100644 index 0000000..d80e427 --- /dev/null +++ b/glext/GL_SGIX_interlace @@ -0,0 +1,3 @@ +GL_SGIX_interlace +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/interlace.txt + GL_INTERLACE_SGIX 0x8094 diff --git a/glext/GL_SGIX_ir_instrument1 b/glext/GL_SGIX_ir_instrument1 new file mode 100644 index 0000000..556038b --- /dev/null +++ b/glext/GL_SGIX_ir_instrument1 @@ -0,0 +1,2 @@ +GL_SGIX_ir_instrument1 +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/ir_instrument1.txt diff --git a/glext/GL_SGIX_list_priority b/glext/GL_SGIX_list_priority new file mode 100644 index 0000000..61f0774 --- /dev/null +++ b/glext/GL_SGIX_list_priority @@ -0,0 +1,2 @@ +GL_SGIX_list_priority +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/list_priority.txt diff --git a/glext/GL_SGIX_pixel_texture b/glext/GL_SGIX_pixel_texture new file mode 100644 index 0000000..1d9d86a --- /dev/null +++ b/glext/GL_SGIX_pixel_texture @@ -0,0 +1,3 @@ +GL_SGIX_pixel_texture +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/sgix_pixel_texture.txt + void glPixelTexGenSGIX (GLenum mode) diff --git a/glext/GL_SGIX_pixel_texture_bits b/glext/GL_SGIX_pixel_texture_bits new file mode 100644 index 0000000..5550e55 --- /dev/null +++ b/glext/GL_SGIX_pixel_texture_bits @@ -0,0 +1,2 @@ +GL_SGIX_pixel_texture_bits +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/pixel_texture_bits.txt diff --git a/glext/GL_SGIX_reference_plane b/glext/GL_SGIX_reference_plane new file mode 100644 index 0000000..a2bfde9 --- /dev/null +++ b/glext/GL_SGIX_reference_plane @@ -0,0 +1,3 @@ +GL_SGIX_reference_plane +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/reference_plane.txt + void glReferencePlaneSGIX (const GLdouble* equation) diff --git a/glext/GL_SGIX_resample b/glext/GL_SGIX_resample new file mode 100644 index 0000000..4695530 --- /dev/null +++ b/glext/GL_SGIX_resample @@ -0,0 +1,7 @@ +GL_SGIX_resample +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/resample.txt + GL_PACK_RESAMPLE_SGIX 0x842E + GL_UNPACK_RESAMPLE_SGIX 0x842F + GL_RESAMPLE_DECIMATE_SGIX 0x8430 + GL_RESAMPLE_REPLICATE_SGIX 0x8433 + GL_RESAMPLE_ZERO_FILL_SGIX 0x8434 diff --git a/glext/GL_SGIX_shadow b/glext/GL_SGIX_shadow new file mode 100644 index 0000000..8e53de4 --- /dev/null +++ b/glext/GL_SGIX_shadow @@ -0,0 +1,2 @@ +GL_SGIX_shadow +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/shadow.txt diff --git a/glext/GL_SGIX_shadow_ambient b/glext/GL_SGIX_shadow_ambient new file mode 100644 index 0000000..95fe688 --- /dev/null +++ b/glext/GL_SGIX_shadow_ambient @@ -0,0 +1,3 @@ +GL_SGIX_shadow_ambient +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/shadow_ambient.txt + GL_SHADOW_AMBIENT_SGIX 0x80BF diff --git a/glext/GL_SGIX_sprite b/glext/GL_SGIX_sprite new file mode 100644 index 0000000..10dae3f --- /dev/null +++ b/glext/GL_SGIX_sprite @@ -0,0 +1,6 @@ +GL_SGIX_sprite +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/sprite.txt + void glSpriteParameterfSGIX (GLenum pname, GLfloat param) + void glSpriteParameterfvSGIX (GLenum pname, GLfloat* params) + void glSpriteParameteriSGIX (GLenum pname, GLint param) + void glSpriteParameterivSGIX (GLenum pname, GLint* params) diff --git a/glext/GL_SGIX_tag_sample_buffer b/glext/GL_SGIX_tag_sample_buffer new file mode 100644 index 0000000..57b211a --- /dev/null +++ b/glext/GL_SGIX_tag_sample_buffer @@ -0,0 +1,3 @@ +GL_SGIX_tag_sample_buffer +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/tag_sample_buffer.txt + void glTagSampleBufferSGIX (void) diff --git a/glext/GL_SGIX_texture_add_env b/glext/GL_SGIX_texture_add_env new file mode 100644 index 0000000..aaf7383 --- /dev/null +++ b/glext/GL_SGIX_texture_add_env @@ -0,0 +1,2 @@ +GL_SGIX_texture_add_env +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/texture_env_add.txt diff --git a/glext/GL_SGIX_texture_coordinate_clamp b/glext/GL_SGIX_texture_coordinate_clamp new file mode 100644 index 0000000..8efc2fa --- /dev/null +++ b/glext/GL_SGIX_texture_coordinate_clamp @@ -0,0 +1,5 @@ +GL_SGIX_texture_coordinate_clamp +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/texture_coordinate_clamp.txt + GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 + GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A + GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B diff --git a/glext/GL_SGIX_texture_lod_bias b/glext/GL_SGIX_texture_lod_bias new file mode 100644 index 0000000..fa5b999 --- /dev/null +++ b/glext/GL_SGIX_texture_lod_bias @@ -0,0 +1,2 @@ +GL_SGIX_texture_lod_bias +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/texture_lod_bias.txt diff --git a/glext/GL_SGIX_texture_multi_buffer b/glext/GL_SGIX_texture_multi_buffer new file mode 100644 index 0000000..dc40501 --- /dev/null +++ b/glext/GL_SGIX_texture_multi_buffer @@ -0,0 +1,3 @@ +GL_SGIX_texture_multi_buffer +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/texture_multi_buffer.txt + GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E diff --git a/glext/GL_SGIX_texture_range b/glext/GL_SGIX_texture_range new file mode 100644 index 0000000..4e80ad4 --- /dev/null +++ b/glext/GL_SGIX_texture_range @@ -0,0 +1,30 @@ +GL_SGIX_texture_range +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/texture_range.txt + GL_RGB_SIGNED_SGIX 0x85E0 + GL_RGBA_SIGNED_SGIX 0x85E1 + GL_ALPHA_SIGNED_SGIX 0x85E2 + GL_LUMINANCE_SIGNED_SGIX 0x85E3 + GL_INTENSITY_SIGNED_SGIX 0x85E4 + GL_LUMINANCE_ALPHA_SIGNED_SGIX 0x85E5 + GL_RGB16_SIGNED_SGIX 0x85E6 + GL_RGBA16_SIGNED_SGIX 0x85E7 + GL_ALPHA16_SIGNED_SGIX 0x85E8 + GL_LUMINANCE16_SIGNED_SGIX 0x85E9 + GL_INTENSITY16_SIGNED_SGIX 0x85EA + GL_LUMINANCE16_ALPHA16_SIGNED_SGIX 0x85EB + GL_RGB_EXTENDED_RANGE_SGIX 0x85EC + GL_RGBA_EXTENDED_RANGE_SGIX 0x85ED + GL_ALPHA_EXTENDED_RANGE_SGIX 0x85EE + GL_LUMINANCE_EXTENDED_RANGE_SGIX 0x85EF + GL_INTENSITY_EXTENDED_RANGE_SGIX 0x85F0 + GL_LUMINANCE_ALPHA_EXTENDED_RANGE_SGIX 0x85F1 + GL_RGB16_EXTENDED_RANGE_SGIX 0x85F2 + GL_RGBA16_EXTENDED_RANGE_SGIX 0x85F3 + GL_ALPHA16_EXTENDED_RANGE_SGIX 0x85F4 + GL_LUMINANCE16_EXTENDED_RANGE_SGIX 0x85F5 + GL_INTENSITY16_EXTENDED_RANGE_SGIX 0x85F6 + GL_LUMINANCE16_ALPHA16_EXTENDED_RANGE_SGIX 0x85F7 + GL_MIN_LUMINANCE_SGIS 0x85F8 + GL_MAX_LUMINANCE_SGIS 0x85F9 + GL_MIN_INTENSITY_SGIS 0x85FA + GL_MAX_INTENSITY_SGIS 0x85FB diff --git a/glext/GL_SGIX_texture_scale_bias b/glext/GL_SGIX_texture_scale_bias new file mode 100644 index 0000000..2d41a21 --- /dev/null +++ b/glext/GL_SGIX_texture_scale_bias @@ -0,0 +1,6 @@ +GL_SGIX_texture_scale_bias +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/texture_scale_bias.txt + GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 + GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A + GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B + GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C diff --git a/glext/GL_SGIX_vertex_preclip b/glext/GL_SGIX_vertex_preclip new file mode 100644 index 0000000..c15d3e4 --- /dev/null +++ b/glext/GL_SGIX_vertex_preclip @@ -0,0 +1,4 @@ +GL_SGIX_vertex_preclip +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/vertex_preclip.txt + GL_VERTEX_PRECLIP_SGIX 0x83EE + GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF diff --git a/glext/GL_SGIX_vertex_preclip_hint b/glext/GL_SGIX_vertex_preclip_hint new file mode 100644 index 0000000..1a06c5c --- /dev/null +++ b/glext/GL_SGIX_vertex_preclip_hint @@ -0,0 +1,4 @@ +GL_SGIX_vertex_preclip_hint +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/vertex_preclip.txt + GL_VERTEX_PRECLIP_SGIX 0x83EE + GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF diff --git a/glext/GL_SGIX_ycrcb b/glext/GL_SGIX_ycrcb new file mode 100644 index 0000000..880e607 --- /dev/null +++ b/glext/GL_SGIX_ycrcb @@ -0,0 +1,2 @@ +GL_SGIX_ycrcb +http://oss.sgi.com/projects/ogl-sample/registry/SGIX/ycrcb.txt diff --git a/glext/GL_SGI_color_matrix b/glext/GL_SGI_color_matrix new file mode 100644 index 0000000..267e89c --- /dev/null +++ b/glext/GL_SGI_color_matrix @@ -0,0 +1,13 @@ +GL_SGI_color_matrix +http://oss.sgi.com/projects/ogl-sample/registry/SGI/color_matrix.txt + GL_COLOR_MATRIX_SGI 0x80B1 + GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 + GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 + GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 + GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 + GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 + GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 + GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 + GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 + GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA + GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB diff --git a/glext/GL_SGI_color_table b/glext/GL_SGI_color_table new file mode 100644 index 0000000..e476aa6 --- /dev/null +++ b/glext/GL_SGI_color_table @@ -0,0 +1,25 @@ +GL_SGI_color_table +http://oss.sgi.com/projects/ogl-sample/registry/SGI/color_table.txt + GL_COLOR_TABLE_SGI 0x80D0 + GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 + GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 + GL_PROXY_COLOR_TABLE_SGI 0x80D3 + GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 + GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 + GL_COLOR_TABLE_SCALE_SGI 0x80D6 + GL_COLOR_TABLE_BIAS_SGI 0x80D7 + GL_COLOR_TABLE_FORMAT_SGI 0x80D8 + GL_COLOR_TABLE_WIDTH_SGI 0x80D9 + GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA + GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB + GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC + GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD + GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE + GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF + void glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat* params) + void glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint* params) + void glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void* table) + void glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) + void glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat* params) + void glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint* params) + void glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void* table) diff --git a/glext/GL_SGI_texture_color_table b/glext/GL_SGI_texture_color_table new file mode 100644 index 0000000..7f88324 --- /dev/null +++ b/glext/GL_SGI_texture_color_table @@ -0,0 +1,4 @@ +GL_SGI_texture_color_table +http://oss.sgi.com/projects/ogl-sample/registry/SGI/texture_color_table.txt + GL_TEXTURE_COLOR_TABLE_SGI 0x80BC + GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD diff --git a/glext/GL_SUNX_constant_data b/glext/GL_SUNX_constant_data new file mode 100644 index 0000000..20d6661 --- /dev/null +++ b/glext/GL_SUNX_constant_data @@ -0,0 +1,5 @@ +GL_SUNX_constant_data +http://oss.sgi.com/projects/ogl-sample/registry/SUNX/constant_data.txt + GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 + GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 + void glFinishTextureSUNX (void) diff --git a/glext/GL_SUN_convolution_border_modes b/glext/GL_SUN_convolution_border_modes new file mode 100644 index 0000000..4ee1e4b --- /dev/null +++ b/glext/GL_SUN_convolution_border_modes @@ -0,0 +1,3 @@ +GL_SUN_convolution_border_modes +http://oss.sgi.com/projects/ogl-sample/registry/SUN/convolution_border_modes.txt + GL_WRAP_BORDER_SUN 0x81D4 diff --git a/glext/GL_SUN_global_alpha b/glext/GL_SUN_global_alpha new file mode 100644 index 0000000..5d4b25b --- /dev/null +++ b/glext/GL_SUN_global_alpha @@ -0,0 +1,12 @@ +GL_SUN_global_alpha +http://oss.sgi.com/projects/ogl-sample/registry/SUN/global_alpha.txt + GL_GLOBAL_ALPHA_SUN 0x81D9 + GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA + void glGlobalAlphaFactorbSUN (GLbyte factor) + void glGlobalAlphaFactordSUN (GLdouble factor) + void glGlobalAlphaFactorfSUN (GLfloat factor) + void glGlobalAlphaFactoriSUN (GLint factor) + void glGlobalAlphaFactorsSUN (GLshort factor) + void glGlobalAlphaFactorubSUN (GLubyte factor) + void glGlobalAlphaFactoruiSUN (GLuint factor) + void glGlobalAlphaFactorusSUN (GLushort factor) diff --git a/glext/GL_SUN_mesh_array b/glext/GL_SUN_mesh_array new file mode 100644 index 0000000..6b5280a --- /dev/null +++ b/glext/GL_SUN_mesh_array @@ -0,0 +1,4 @@ +GL_SUN_mesh_array +http://oss.sgi.com/projects/ogl-sample/registry/SUN/mesh_array.txt + GL_QUAD_MESH_SUN 0x8614 + GL_TRIANGLE_MESH_SUN 0x8615 diff --git a/glext/GL_SUN_read_video_pixels b/glext/GL_SUN_read_video_pixels new file mode 100644 index 0000000..496a2d4 --- /dev/null +++ b/glext/GL_SUN_read_video_pixels @@ -0,0 +1,3 @@ +GL_SUN_read_video_pixels +http://wwws.sun.com/software/graphics/opengl/extensions/gl_sun_read_video_pixels.txt + void glReadVideoPixelsSUN (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) diff --git a/glext/GL_SUN_slice_accum b/glext/GL_SUN_slice_accum new file mode 100644 index 0000000..eaa38bb --- /dev/null +++ b/glext/GL_SUN_slice_accum @@ -0,0 +1,3 @@ +GL_SUN_slice_accum +http://oss.sgi.com/projects/ogl-sample/registry/SUN/slice_accum.txt + GL_SLICE_ACCUM_SUN 0x85CC diff --git a/glext/GL_SUN_triangle_list b/glext/GL_SUN_triangle_list new file mode 100644 index 0000000..4df7bf5 --- /dev/null +++ b/glext/GL_SUN_triangle_list @@ -0,0 +1,26 @@ +GL_SUN_triangle_list +http://oss.sgi.com/projects/ogl-sample/registry/SUN/triangle_list.txt + GL_RESTART_SUN 0x01 + GL_REPLACE_MIDDLE_SUN 0x02 + GL_REPLACE_OLDEST_SUN 0x03 + GL_TRIANGLE_LIST_SUN 0x81D7 + GL_REPLACEMENT_CODE_SUN 0x81D8 + GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 + GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 + GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 + GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 + GL_R1UI_V3F_SUN 0x85C4 + GL_R1UI_C4UB_V3F_SUN 0x85C5 + GL_R1UI_C3F_V3F_SUN 0x85C6 + GL_R1UI_N3F_V3F_SUN 0x85C7 + GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 + GL_R1UI_T2F_V3F_SUN 0x85C9 + GL_R1UI_T2F_N3F_V3F_SUN 0x85CA + GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB + void glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void* pointer) + void glReplacementCodeubSUN (GLubyte code) + void glReplacementCodeubvSUN (const GLubyte* code) + void glReplacementCodeuiSUN (GLuint code) + void glReplacementCodeuivSUN (const GLuint* code) + void glReplacementCodeusSUN (GLushort code) + void glReplacementCodeusvSUN (const GLushort* code) diff --git a/glext/GL_SUN_vertex b/glext/GL_SUN_vertex new file mode 100644 index 0000000..70a776e --- /dev/null +++ b/glext/GL_SUN_vertex @@ -0,0 +1,42 @@ +GL_SUN_vertex +http://oss.sgi.com/projects/ogl-sample/registry/SUN/vertex.txt + void glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) + void glColor3fVertex3fvSUN (const GLfloat* c, const GLfloat *v) + void glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + void glColor4fNormal3fVertex3fvSUN (const GLfloat* c, const GLfloat *n, const GLfloat *v) + void glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y) + void glColor4ubVertex2fvSUN (const GLubyte* c, const GLfloat *v) + void glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) + void glColor4ubVertex3fvSUN (const GLubyte* c, const GLfloat *v) + void glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + void glNormal3fVertex3fvSUN (const GLfloat* n, const GLfloat *v) + void glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) + void glReplacementCodeuiColor3fVertex3fvSUN (const GLuint* rc, const GLfloat *c, const GLfloat *v) + void glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + void glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint* rc, const GLfloat *c, const GLfloat *n, const GLfloat *v) + void glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) + void glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint* rc, const GLubyte *c, const GLfloat *v) + void glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + void glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint* rc, const GLfloat *n, const GLfloat *v) + void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint* rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) + void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint* rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v) + void glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) + void glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint* rc, const GLfloat *tc, const GLfloat *v) + void glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z) + void glReplacementCodeuiVertex3fvSUN (const GLuint* rc, const GLfloat *v) + void glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) + void glTexCoord2fColor3fVertex3fvSUN (const GLfloat* tc, const GLfloat *c, const GLfloat *v) + void glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + void glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat* tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) + void glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) + void glTexCoord2fColor4ubVertex3fvSUN (const GLfloat* tc, const GLubyte *c, const GLfloat *v) + void glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) + void glTexCoord2fNormal3fVertex3fvSUN (const GLfloat* tc, const GLfloat *n, const GLfloat *v) + void glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) + void glTexCoord2fVertex3fvSUN (const GLfloat* tc, const GLfloat *v) + void glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat* tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) + void glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w) + void glTexCoord4fVertex4fvSUN (const GLfloat* tc, const GLfloat *v) diff --git a/glext/GL_WIN_phong_shading b/glext/GL_WIN_phong_shading new file mode 100644 index 0000000..6dd81d2 --- /dev/null +++ b/glext/GL_WIN_phong_shading @@ -0,0 +1,4 @@ +GL_WIN_phong_shading +http://oss.sgi.com/projects/ogl-sample/registry/WIN/phong_shading.txt + GL_PHONG_WIN 0x80EA + GL_PHONG_HINT_WIN 0x80EB diff --git a/glext/GL_WIN_specular_fog b/glext/GL_WIN_specular_fog new file mode 100644 index 0000000..c9a8b6d --- /dev/null +++ b/glext/GL_WIN_specular_fog @@ -0,0 +1,3 @@ +GL_WIN_specular_fog +http://oss.sgi.com/projects/ogl-sample/registry/WIN/specular_fog.txt + GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC diff --git a/glext/GL_WIN_swap_hint b/glext/GL_WIN_swap_hint new file mode 100644 index 0000000..a8c45b6 --- /dev/null +++ b/glext/GL_WIN_swap_hint @@ -0,0 +1,3 @@ +GL_WIN_swap_hint +http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/glfunc01_16zy.asp + void glAddSwapHintRectWIN (GLint x, GLint y, GLsizei width, GLsizei height) diff --git a/glext/WGL_3DFX_multisample b/glext/WGL_3DFX_multisample new file mode 100644 index 0000000..f367566 --- /dev/null +++ b/glext/WGL_3DFX_multisample @@ -0,0 +1,4 @@ +WGL_3DFX_multisample +http://oss.sgi.com/projects/ogl-sample/registry/3DFX/3dfx_multisample.txt + WGL_SAMPLE_BUFFERS_3DFX 0x2060 + WGL_SAMPLES_3DFX 0x2061 diff --git a/glext/WGL_ARB_buffer_region b/glext/WGL_ARB_buffer_region new file mode 100644 index 0000000..8dc9bc5 --- /dev/null +++ b/glext/WGL_ARB_buffer_region @@ -0,0 +1,10 @@ +WGL_ARB_buffer_region +http://oss.sgi.com/projects/ogl-sample/registry/ARB/wgl_buffer_region.txt + WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 + WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 + WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 + WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 + HANDLE wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType) + VOID wglDeleteBufferRegionARB (HANDLE hRegion) + BOOL wglRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc) + BOOL wglSaveBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height) diff --git a/glext/WGL_ARB_extensions_string b/glext/WGL_ARB_extensions_string new file mode 100644 index 0000000..e2d7956 --- /dev/null +++ b/glext/WGL_ARB_extensions_string @@ -0,0 +1,3 @@ +WGL_ARB_extensions_string +http://oss.sgi.com/projects/ogl-sample/registry/ARB/wgl_extensions_string.txt + const char* wglGetExtensionsStringARB (HDC hdc) diff --git a/glext/WGL_ARB_make_current_read b/glext/WGL_ARB_make_current_read new file mode 100644 index 0000000..6e998cd --- /dev/null +++ b/glext/WGL_ARB_make_current_read @@ -0,0 +1,4 @@ +WGL_ARB_make_current_read +http://oss.sgi.com/projects/ogl-sample/registry/ARB/wgl_make_current_read.txt + HDC wglGetCurrentReadDCARB (VOID) + BOOL wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc) diff --git a/glext/WGL_ARB_multisample b/glext/WGL_ARB_multisample new file mode 100644 index 0000000..1d97796 --- /dev/null +++ b/glext/WGL_ARB_multisample @@ -0,0 +1,4 @@ +WGL_ARB_multisample +http://oss.sgi.com/projects/ogl-sample/registry/ARB/multisample.txt + WGL_SAMPLE_BUFFERS_ARB 0x2041 + WGL_SAMPLES_ARB 0x2042 diff --git a/glext/WGL_ARB_pbuffer b/glext/WGL_ARB_pbuffer new file mode 100644 index 0000000..aa53651 --- /dev/null +++ b/glext/WGL_ARB_pbuffer @@ -0,0 +1,16 @@ +WGL_ARB_pbuffer +http://oss.sgi.com/projects/ogl-sample/registry/ARB/wgl_pbuffer.txt + WGL_DRAW_TO_PBUFFER_ARB 0x202D + WGL_MAX_PBUFFER_PIXELS_ARB 0x202E + WGL_MAX_PBUFFER_WIDTH_ARB 0x202F + WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 + WGL_PBUFFER_LARGEST_ARB 0x2033 + WGL_PBUFFER_WIDTH_ARB 0x2034 + WGL_PBUFFER_HEIGHT_ARB 0x2035 + WGL_PBUFFER_LOST_ARB 0x2036 + HPBUFFERARB wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList) + BOOL wglDestroyPbufferARB (HPBUFFERARB hPbuffer) + HDC wglGetPbufferDCARB (HPBUFFERARB hPbuffer) + BOOL wglQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int* piValue) + int wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC) + DECLARE_HANDLE(HPBUFFERARB); diff --git a/glext/WGL_ARB_pixel_format b/glext/WGL_ARB_pixel_format new file mode 100644 index 0000000..6cf6d30 --- /dev/null +++ b/glext/WGL_ARB_pixel_format @@ -0,0 +1,54 @@ +WGL_ARB_pixel_format +http://oss.sgi.com/projects/ogl-sample/registry/ARB/wgl_pixel_format.txt + WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 + WGL_DRAW_TO_WINDOW_ARB 0x2001 + WGL_DRAW_TO_BITMAP_ARB 0x2002 + WGL_ACCELERATION_ARB 0x2003 + WGL_NEED_PALETTE_ARB 0x2004 + WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 + WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 + WGL_SWAP_METHOD_ARB 0x2007 + WGL_NUMBER_OVERLAYS_ARB 0x2008 + WGL_NUMBER_UNDERLAYS_ARB 0x2009 + WGL_TRANSPARENT_ARB 0x200A + WGL_SHARE_DEPTH_ARB 0x200C + WGL_SHARE_STENCIL_ARB 0x200D + WGL_SHARE_ACCUM_ARB 0x200E + WGL_SUPPORT_GDI_ARB 0x200F + WGL_SUPPORT_OPENGL_ARB 0x2010 + WGL_DOUBLE_BUFFER_ARB 0x2011 + WGL_STEREO_ARB 0x2012 + WGL_PIXEL_TYPE_ARB 0x2013 + WGL_COLOR_BITS_ARB 0x2014 + WGL_RED_BITS_ARB 0x2015 + WGL_RED_SHIFT_ARB 0x2016 + WGL_GREEN_BITS_ARB 0x2017 + WGL_GREEN_SHIFT_ARB 0x2018 + WGL_BLUE_BITS_ARB 0x2019 + WGL_BLUE_SHIFT_ARB 0x201A + WGL_ALPHA_BITS_ARB 0x201B + WGL_ALPHA_SHIFT_ARB 0x201C + WGL_ACCUM_BITS_ARB 0x201D + WGL_ACCUM_RED_BITS_ARB 0x201E + WGL_ACCUM_GREEN_BITS_ARB 0x201F + WGL_ACCUM_BLUE_BITS_ARB 0x2020 + WGL_ACCUM_ALPHA_BITS_ARB 0x2021 + WGL_DEPTH_BITS_ARB 0x2022 + WGL_STENCIL_BITS_ARB 0x2023 + WGL_AUX_BUFFERS_ARB 0x2024 + WGL_NO_ACCELERATION_ARB 0x2025 + WGL_GENERIC_ACCELERATION_ARB 0x2026 + WGL_FULL_ACCELERATION_ARB 0x2027 + WGL_SWAP_EXCHANGE_ARB 0x2028 + WGL_SWAP_COPY_ARB 0x2029 + WGL_SWAP_UNDEFINED_ARB 0x202A + WGL_TYPE_RGBA_ARB 0x202B + WGL_TYPE_COLORINDEX_ARB 0x202C + WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 + WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 + WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 + WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A + WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B + BOOL wglChoosePixelFormatARB (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats) + BOOL wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT *pfValues) + BOOL wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int *piValues) diff --git a/glext/WGL_ARB_render_texture b/glext/WGL_ARB_render_texture new file mode 100644 index 0000000..b64bec6 --- /dev/null +++ b/glext/WGL_ARB_render_texture @@ -0,0 +1,38 @@ +WGL_ARB_render_texture +http://oss.sgi.com/projects/ogl-sample/registry/ARB/wgl_render_texture.txt + WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 + WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 + WGL_TEXTURE_FORMAT_ARB 0x2072 + WGL_TEXTURE_TARGET_ARB 0x2073 + WGL_MIPMAP_TEXTURE_ARB 0x2074 + WGL_TEXTURE_RGB_ARB 0x2075 + WGL_TEXTURE_RGBA_ARB 0x2076 + WGL_NO_TEXTURE_ARB 0x2077 + WGL_TEXTURE_CUBE_MAP_ARB 0x2078 + WGL_TEXTURE_1D_ARB 0x2079 + WGL_TEXTURE_2D_ARB 0x207A + WGL_MIPMAP_LEVEL_ARB 0x207B + WGL_CUBE_MAP_FACE_ARB 0x207C + WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D + WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E + WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F + WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 + WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 + WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 + WGL_FRONT_LEFT_ARB 0x2083 + WGL_FRONT_RIGHT_ARB 0x2084 + WGL_BACK_LEFT_ARB 0x2085 + WGL_BACK_RIGHT_ARB 0x2086 + WGL_AUX0_ARB 0x2087 + WGL_AUX1_ARB 0x2088 + WGL_AUX2_ARB 0x2089 + WGL_AUX3_ARB 0x208A + WGL_AUX4_ARB 0x208B + WGL_AUX5_ARB 0x208C + WGL_AUX6_ARB 0x208D + WGL_AUX7_ARB 0x208E + WGL_AUX8_ARB 0x208F + WGL_AUX9_ARB 0x2090 + BOOL wglBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer) + BOOL wglReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer) + BOOL wglSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int* piAttribList) diff --git a/glext/WGL_ATI_pixel_format_float b/glext/WGL_ATI_pixel_format_float new file mode 100644 index 0000000..ccfa55e --- /dev/null +++ b/glext/WGL_ATI_pixel_format_float @@ -0,0 +1,5 @@ +WGL_ATI_pixel_format_float +http://oss.sgi.com/projects/ogl-sample/registry/ATI/pixel_format_float.txt + WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 + GL_RGBA_FLOAT_MODE_ATI 0x8820 + GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 diff --git a/glext/WGL_EXT_depth_float b/glext/WGL_EXT_depth_float new file mode 100644 index 0000000..7026d50 --- /dev/null +++ b/glext/WGL_EXT_depth_float @@ -0,0 +1,3 @@ +WGL_EXT_depth_float +http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_depth_float.txt + WGL_DEPTH_FLOAT_EXT 0x2040 diff --git a/glext/WGL_EXT_display_color_table b/glext/WGL_EXT_display_color_table new file mode 100644 index 0000000..b7d4584 --- /dev/null +++ b/glext/WGL_EXT_display_color_table @@ -0,0 +1,6 @@ +WGL_EXT_display_color_table +http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_display_color_table.txt + GLboolean wglBindDisplayColorTableEXT (GLushort id) + GLboolean wglCreateDisplayColorTableEXT (GLushort id) + void wglDestroyDisplayColorTableEXT (GLushort id) + GLboolean wglLoadDisplayColorTableEXT (GLushort* table, GLuint length) diff --git a/glext/WGL_EXT_extensions_string b/glext/WGL_EXT_extensions_string new file mode 100644 index 0000000..ae40009 --- /dev/null +++ b/glext/WGL_EXT_extensions_string @@ -0,0 +1,3 @@ +WGL_EXT_extensions_string +http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_extensions_string.txt + const char* wglGetExtensionsStringEXT (void) diff --git a/glext/WGL_EXT_make_current_read b/glext/WGL_EXT_make_current_read new file mode 100644 index 0000000..50eb96e --- /dev/null +++ b/glext/WGL_EXT_make_current_read @@ -0,0 +1,4 @@ +WGL_EXT_make_current_read +http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_make_current_read.txt + HDC wglGetCurrentReadDCEXT (VOID) + BOOL wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc) diff --git a/glext/WGL_EXT_multisample b/glext/WGL_EXT_multisample new file mode 100644 index 0000000..4338ac4 --- /dev/null +++ b/glext/WGL_EXT_multisample @@ -0,0 +1,4 @@ +WGL_EXT_multisample +http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_multisample.txt + WGL_SAMPLE_BUFFERS_EXT 0x2041 + WGL_SAMPLES_EXT 0x2042 diff --git a/glext/WGL_EXT_pbuffer b/glext/WGL_EXT_pbuffer new file mode 100644 index 0000000..4668626 --- /dev/null +++ b/glext/WGL_EXT_pbuffer @@ -0,0 +1,17 @@ +WGL_EXT_pbuffer +http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_pbuffer.txt + WGL_DRAW_TO_PBUFFER_EXT 0x202D + WGL_MAX_PBUFFER_PIXELS_EXT 0x202E + WGL_MAX_PBUFFER_WIDTH_EXT 0x202F + WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 + WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 + WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 + WGL_PBUFFER_LARGEST_EXT 0x2033 + WGL_PBUFFER_WIDTH_EXT 0x2034 + WGL_PBUFFER_HEIGHT_EXT 0x2035 + HPBUFFEREXT wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList) + BOOL wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer) + HDC wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer) + BOOL wglQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int* piValue) + int wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC) + DECLARE_HANDLE(HPBUFFEREXT); diff --git a/glext/WGL_EXT_pixel_format b/glext/WGL_EXT_pixel_format new file mode 100644 index 0000000..45a3dea --- /dev/null +++ b/glext/WGL_EXT_pixel_format @@ -0,0 +1,50 @@ +WGL_EXT_pixel_format +http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_pixel_format.txt + WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 + WGL_DRAW_TO_WINDOW_EXT 0x2001 + WGL_DRAW_TO_BITMAP_EXT 0x2002 + WGL_ACCELERATION_EXT 0x2003 + WGL_NEED_PALETTE_EXT 0x2004 + WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 + WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 + WGL_SWAP_METHOD_EXT 0x2007 + WGL_NUMBER_OVERLAYS_EXT 0x2008 + WGL_NUMBER_UNDERLAYS_EXT 0x2009 + WGL_TRANSPARENT_EXT 0x200A + WGL_TRANSPARENT_VALUE_EXT 0x200B + WGL_SHARE_DEPTH_EXT 0x200C + WGL_SHARE_STENCIL_EXT 0x200D + WGL_SHARE_ACCUM_EXT 0x200E + WGL_SUPPORT_GDI_EXT 0x200F + WGL_SUPPORT_OPENGL_EXT 0x2010 + WGL_DOUBLE_BUFFER_EXT 0x2011 + WGL_STEREO_EXT 0x2012 + WGL_PIXEL_TYPE_EXT 0x2013 + WGL_COLOR_BITS_EXT 0x2014 + WGL_RED_BITS_EXT 0x2015 + WGL_RED_SHIFT_EXT 0x2016 + WGL_GREEN_BITS_EXT 0x2017 + WGL_GREEN_SHIFT_EXT 0x2018 + WGL_BLUE_BITS_EXT 0x2019 + WGL_BLUE_SHIFT_EXT 0x201A + WGL_ALPHA_BITS_EXT 0x201B + WGL_ALPHA_SHIFT_EXT 0x201C + WGL_ACCUM_BITS_EXT 0x201D + WGL_ACCUM_RED_BITS_EXT 0x201E + WGL_ACCUM_GREEN_BITS_EXT 0x201F + WGL_ACCUM_BLUE_BITS_EXT 0x2020 + WGL_ACCUM_ALPHA_BITS_EXT 0x2021 + WGL_DEPTH_BITS_EXT 0x2022 + WGL_STENCIL_BITS_EXT 0x2023 + WGL_AUX_BUFFERS_EXT 0x2024 + WGL_NO_ACCELERATION_EXT 0x2025 + WGL_GENERIC_ACCELERATION_EXT 0x2026 + WGL_FULL_ACCELERATION_EXT 0x2027 + WGL_SWAP_EXCHANGE_EXT 0x2028 + WGL_SWAP_COPY_EXT 0x2029 + WGL_SWAP_UNDEFINED_EXT 0x202A + WGL_TYPE_RGBA_EXT 0x202B + WGL_TYPE_COLORINDEX_EXT 0x202C + BOOL wglChoosePixelFormatEXT (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats) + BOOL wglGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, FLOAT *pfValues) + BOOL wglGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, int *piValues) diff --git a/glext/WGL_EXT_swap_control b/glext/WGL_EXT_swap_control new file mode 100644 index 0000000..973f646 --- /dev/null +++ b/glext/WGL_EXT_swap_control @@ -0,0 +1,4 @@ +WGL_EXT_swap_control +http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_swap_control.txt + int wglGetSwapIntervalEXT (void) + BOOL wglSwapIntervalEXT (int interval) diff --git a/glext/WGL_I3D_digital_video_control b/glext/WGL_I3D_digital_video_control new file mode 100644 index 0000000..65152cf --- /dev/null +++ b/glext/WGL_I3D_digital_video_control @@ -0,0 +1,8 @@ +WGL_I3D_digital_video_control +http://oss.sgi.com/projects/ogl-sample/registry/I3D/wgl_digital_video_control.txt + WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 + WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 + WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 + WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 + BOOL wglGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int* piValue) + BOOL wglSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, const int* piValue) diff --git a/glext/WGL_I3D_gamma b/glext/WGL_I3D_gamma new file mode 100644 index 0000000..0751157 --- /dev/null +++ b/glext/WGL_I3D_gamma @@ -0,0 +1,8 @@ +WGL_I3D_gamma +http://oss.sgi.com/projects/ogl-sample/registry/I3D/wgl_gamma.txt + WGL_GAMMA_TABLE_SIZE_I3D 0x204E + WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F + BOOL wglGetGammaTableI3D (HDC hDC, int iEntries, USHORT* puRed, USHORT *puGreen, USHORT *puBlue) + BOOL wglGetGammaTableParametersI3D (HDC hDC, int iAttribute, int* piValue) + BOOL wglSetGammaTableI3D (HDC hDC, int iEntries, const USHORT* puRed, const USHORT *puGreen, const USHORT *puBlue) + BOOL wglSetGammaTableParametersI3D (HDC hDC, int iAttribute, const int* piValue) diff --git a/glext/WGL_I3D_genlock b/glext/WGL_I3D_genlock new file mode 100644 index 0000000..17f8848 --- /dev/null +++ b/glext/WGL_I3D_genlock @@ -0,0 +1,23 @@ +WGL_I3D_genlock +http://oss.sgi.com/projects/ogl-sample/registry/I3D/wgl_genlock.txt + WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 + WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045 + WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046 + WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047 + WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 + WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 + WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A + WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B + WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C + BOOL wglDisableGenlockI3D (HDC hDC) + BOOL wglEnableGenlockI3D (HDC hDC) + BOOL wglGenlockSampleRateI3D (HDC hDC, UINT uRate) + BOOL wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay) + BOOL wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge) + BOOL wglGenlockSourceI3D (HDC hDC, UINT uSource) + BOOL wglGetGenlockSampleRateI3D (HDC hDC, UINT* uRate) + BOOL wglGetGenlockSourceDelayI3D (HDC hDC, UINT* uDelay) + BOOL wglGetGenlockSourceEdgeI3D (HDC hDC, UINT* uEdge) + BOOL wglGetGenlockSourceI3D (HDC hDC, UINT* uSource) + BOOL wglIsEnabledGenlockI3D (HDC hDC, BOOL* pFlag) + BOOL wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT* uMaxLineDelay, UINT *uMaxPixelDelay) diff --git a/glext/WGL_I3D_image_buffer b/glext/WGL_I3D_image_buffer new file mode 100644 index 0000000..2d99615 --- /dev/null +++ b/glext/WGL_I3D_image_buffer @@ -0,0 +1,8 @@ +WGL_I3D_image_buffer +http://oss.sgi.com/projects/ogl-sample/registry/I3D/wgl_image_buffer.txt + WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 + WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 + BOOL wglAssociateImageBufferEventsI3D (HDC hdc, HANDLE* pEvent, LPVOID *pAddress, DWORD *pSize, UINT count) + LPVOID wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags) + BOOL wglDestroyImageBufferI3D (HDC hDC, LPVOID pAddress) + BOOL wglReleaseImageBufferEventsI3D (HDC hdc, LPVOID* pAddress, UINT count) diff --git a/glext/WGL_I3D_swap_frame_lock b/glext/WGL_I3D_swap_frame_lock new file mode 100644 index 0000000..bbeaaf6 --- /dev/null +++ b/glext/WGL_I3D_swap_frame_lock @@ -0,0 +1,6 @@ +WGL_I3D_swap_frame_lock +http://oss.sgi.com/projects/ogl-sample/registry/I3D/wgl_swap_frame_lock.txt + BOOL wglDisableFrameLockI3D (VOID) + BOOL wglEnableFrameLockI3D (VOID) + BOOL wglIsEnabledFrameLockI3D (BOOL* pFlag) + BOOL wglQueryFrameLockMasterI3D (BOOL* pFlag) diff --git a/glext/WGL_I3D_swap_frame_usage b/glext/WGL_I3D_swap_frame_usage new file mode 100644 index 0000000..b0a2b6f --- /dev/null +++ b/glext/WGL_I3D_swap_frame_usage @@ -0,0 +1,6 @@ +WGL_I3D_swap_frame_usage +http://oss.sgi.com/projects/ogl-sample/registry/I3D/wgl_swap_frame_usage.txt + BOOL wglBeginFrameTrackingI3D (void) + BOOL wglEndFrameTrackingI3D (void) + BOOL wglGetFrameUsageI3D (float* pUsage) + BOOL wglQueryFrameTrackingI3D (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage) diff --git a/glext/WGL_NV_float_buffer b/glext/WGL_NV_float_buffer new file mode 100644 index 0000000..eb63667 --- /dev/null +++ b/glext/WGL_NV_float_buffer @@ -0,0 +1,11 @@ +WGL_NV_float_buffer +http://oss.sgi.com/projects/ogl-sample/registry/NV/float_buffer.txt + WGL_FLOAT_COMPONENTS_NV 0x20B0 + WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 + WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 + WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 + WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 + WGL_TEXTURE_FLOAT_R_NV 0x20B5 + WGL_TEXTURE_FLOAT_RG_NV 0x20B6 + WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 + WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 diff --git a/glext/WGL_NV_render_depth_texture b/glext/WGL_NV_render_depth_texture new file mode 100644 index 0000000..ef17c2e --- /dev/null +++ b/glext/WGL_NV_render_depth_texture @@ -0,0 +1,8 @@ +WGL_NV_render_depth_texture +http://oss.sgi.com/projects/ogl-sample/registry/NV/render_depth_texture.txt + WGL_NO_TEXTURE_ARB 0x2077 + WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 + WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 + WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 + WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 + WGL_DEPTH_COMPONENT_NV 0x20A7 diff --git a/glext/WGL_NV_render_texture_rectangle b/glext/WGL_NV_render_texture_rectangle new file mode 100644 index 0000000..34ed0bb --- /dev/null +++ b/glext/WGL_NV_render_texture_rectangle @@ -0,0 +1,5 @@ +WGL_NV_render_texture_rectangle +http://oss.sgi.com/projects/ogl-sample/registry/NV/render_texture_rectangle.txt + WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 + WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 + WGL_TEXTURE_RECTANGLE_NV 0x20A2 diff --git a/glext/WGL_NV_vertex_array_range b/glext/WGL_NV_vertex_array_range new file mode 100644 index 0000000..ef63c7e --- /dev/null +++ b/glext/WGL_NV_vertex_array_range @@ -0,0 +1,4 @@ +WGL_NV_vertex_array_range +http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt + void * wglAllocateMemoryNV (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority) + void wglFreeMemoryNV (void *pointer) diff --git a/glext/WGL_OML_sync_control b/glext/WGL_OML_sync_control new file mode 100644 index 0000000..cbafcaa --- /dev/null +++ b/glext/WGL_OML_sync_control @@ -0,0 +1,8 @@ +WGL_OML_sync_control +http://oss.sgi.com/projects/ogl-sample/registry/OML/wgl_sync_control.txt + BOOL wglGetMscRateOML (HDC hdc, INT32* numerator, INT32 *denominator) + BOOL wglGetSyncValuesOML (HDC hdc, INT64* ust, INT64 *msc, INT64 *sbc) + INT64 wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder) + INT64 wglSwapLayerBuffersMscOML (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder) + BOOL wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust, INT64 *msc, INT64 *sbc) + BOOL wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64* ust, INT64 *msc, INT64 *sbc)