svn path=/trunk/tsunami-bindings/; revision=24747
This commit is contained in:
Vladimir Vukicevic 2004-03-30 01:05:49 +00:00
Коммит 45309a5e44
324 изменённых файлов: 6347 добавлений и 0 удалений

2
AUTHORS Normal file
Просмотреть файл

@ -0,0 +1,2 @@
Vladimir Vukicevic <vladimir@pobox.com>

340
COPYING.GPL Normal file
Просмотреть файл

@ -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.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
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.
<signature of Ty Coon>, 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.

5
CORE_files Normal file
Просмотреть файл

@ -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

240
EXT_files Normal file
Просмотреть файл

@ -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

21
MIT.X11 Normal file
Просмотреть файл

@ -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.

34
Makefile Normal file
Просмотреть файл

@ -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

56
README Normal file
Просмотреть файл

@ -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).

119
TsunamiBindingsCore.cs Normal file
Просмотреть файл

@ -0,0 +1,119 @@
//
// Tsunami.Bindings core
//
// Copyright (c) 2004 Vladimir Vukicevic <vladimir@pobox.com>
//
// 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;
}
}
}

293
csgen.pl Normal file
Просмотреть файл

@ -0,0 +1,293 @@
##
## csgen.pl
## Copyright (C) 2004 Vladimir Vukicevic <vladimir@pobox.com>
##
## Portions taken from GLEW (http://glew.sourceforge.net/), which is
## Copyright (C) 2004, 2003 Marcelo E. Magallon <mmagallo[at]debian org>
## Copyright (C) 2004, 2003 Milan Ikits <milan ikits[at]ieee org>
##
## 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 (<EXT>) {
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);
}
}

3
gl_postamble.cs Normal file
Просмотреть файл

@ -0,0 +1,3 @@
}
}

170
gl_postprocess.cs Normal file
Просмотреть файл

@ -0,0 +1,170 @@
//
// gl_postprocess.cs
//
// Copyright (C) 2004 Vladimir Vukicevic <vladimir@pobox.com>
//
// 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;
}
}

44
gl_preamble.cs Normal file
Просмотреть файл

@ -0,0 +1,44 @@
//
// Tsunami.Bindings.Gl
//
// Copyright (c) 2004 Vladimir Vukicevic <vladimir@pobox.com>
//
// 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 {

2
glcore/GLX_VERSION_1_2 Normal file
Просмотреть файл

@ -0,0 +1,2 @@
GLX_VERSION_1_2
Display* glXGetCurrentDisplay (void)

80
glcore/GLX_VERSION_1_3 Normal file
Просмотреть файл

@ -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

4
glcore/GLX_VERSION_1_4 Normal file
Просмотреть файл

@ -0,0 +1,4 @@
GLX_VERSION_1_4
GLX_SAMPLE_BUFFERS 100000
GLX_SAMPLES 100001
extern void ( * glXGetProcAddress (const GLubyte *procName)) (void);

1021
glcore/GL_VERSION_1_1 Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

46
glcore/GL_VERSION_1_2 Normal file
Просмотреть файл

@ -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)

144
glcore/GL_VERSION_1_3 Normal file
Просмотреть файл

@ -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)

85
glcore/GL_VERSION_1_4 Normal file
Просмотреть файл

@ -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)

73
glcore/GL_VERSION_1_5 Normal file
Просмотреть файл

@ -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

Просмотреть файл

@ -0,0 +1,2 @@
GLU_EXT_nurbs_tessellator
http://oss.sgi.com/projects/ogl-sample/registry/EXT/nurbs_tessellator.txt

Просмотреть файл

@ -0,0 +1,2 @@
GLU_EXT_object_space_tess
http://oss.sgi.com/projects/ogl-sample/registry/EXT/object_space_tess.txt

Просмотреть файл

@ -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)

Просмотреть файл

@ -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

Просмотреть файл

@ -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);

Просмотреть файл

@ -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

Просмотреть файл

@ -0,0 +1,2 @@
GLX_ATI_pixel_format_float
GLX_RGBA_FLOAT_ATI_BIT 0x00000100

Просмотреть файл

@ -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)

Просмотреть файл

@ -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

Просмотреть файл

@ -0,0 +1,2 @@
GLX_EXT_scene_marker
http://oss.sgi.com/projects/ogl-sample/registry/EXT/scene_marker.txt

18
glext/GLX_EXT_visual_info Normal file
Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

Просмотреть файл

@ -0,0 +1,3 @@
GLX_NV_float_buffer
http://cvs1.nvidia.com/inc/GL/glxtokens.h
GLX_FLOAT_COMPONENTS_NV 0x20B0

Просмотреть файл

@ -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)

Просмотреть файл

@ -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

Просмотреть файл

@ -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)

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -0,0 +1,3 @@
GLX_SGIS_shared_multisample
GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026
GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027

21
glext/GLX_SGIX_fbconfig Normal file
Просмотреть файл

@ -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

34
glext/GLX_SGIX_pbuffer Normal file
Просмотреть файл

@ -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

Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

Просмотреть файл

@ -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

3
glext/GLX_SGI_cushion Normal file
Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

Просмотреть файл

@ -0,0 +1,3 @@
GLX_SGI_swap_control
http://oss.sgi.com/projects/ogl-sample/registry/SGI/swap_control.txt
int glXSwapIntervalSGI (int interval)

4
glext/GLX_SGI_video_sync Normal file
Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

Просмотреть файл

@ -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

3
glext/GL_3DFX_tbuffer Normal file
Просмотреть файл

@ -0,0 +1,3 @@
GL_3DFX_tbuffer
http://oss.sgi.com/projects/ogl-sample/registry/3DFX/tbuffer.txt
void glTbufferMask3DFX (GLuint mask)

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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)

12
glext/GL_APPLE_fence Normal file
Просмотреть файл

@ -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)

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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)

Просмотреть файл

@ -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

Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

5
glext/GL_APPLE_ycbcr_422 Normal file
Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -0,0 +1,2 @@
GL_ARB_fragment_program_shadow
http://oss.sgi.com/projects/ogl-sample/registry/ARB/fragment_program_shadow.txt

Просмотреть файл

@ -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

110
glext/GL_ARB_imaging Normal file
Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

14
glext/GL_ARB_multisample Normal file
Просмотреть файл

@ -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)

71
glext/GL_ARB_multitexture Normal file
Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -0,0 +1,2 @@
GL_ARB_shading_language_100
http://oss.sgi.com/projects/ogl-sample/registry/ARB/shading_language_100.txt

5
glext/GL_ARB_shadow Normal file
Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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)

Просмотреть файл

@ -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

Просмотреть файл

@ -0,0 +1,2 @@
GL_ARB_texture_env_add
http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_env_add.txt

Просмотреть файл

@ -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

Просмотреть файл

@ -0,0 +1,2 @@
GL_ARB_texture_env_crossbar
http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_env_crossbar.txt

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

Просмотреть файл

@ -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

54
glext/GL_ARB_vertex_blend Normal file
Просмотреть файл

@ -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)

Просмотреть файл

@ -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

143
glext/GL_ARB_vertex_program Normal file
Просмотреть файл

@ -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)

Просмотреть файл

@ -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)

18
glext/GL_ARB_window_pos Normal file
Просмотреть файл

@ -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)

Просмотреть файл

@ -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

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше